SPIGOT-5336: Field name parity with Minecraft keys

By: DerFrZocker <derrieple@gmail.com>
This commit is contained in:
CraftBukkit/Spigot
2024-04-24 01:15:00 +10:00
parent d122883f57
commit 760899464e
26 changed files with 1306 additions and 156 deletions

View File

@@ -1362,10 +1362,10 @@ public class CraftEventFactory {
org.bukkit.entity.Entity bukkitIgniter = igniter.getBukkitEntity();
IgniteCause cause;
switch (bukkitIgniter.getType()) {
case ENDER_CRYSTAL:
case END_CRYSTAL:
cause = IgniteCause.ENDER_CRYSTAL;
break;
case LIGHTNING:
case LIGHTNING_BOLT:
cause = IgniteCause.LIGHTNING;
break;
case SMALL_FIREBALL: