SPIGOT-7652: Remove remap for SPELL_MOB_AMBIENT which no longer exists

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot 2024-05-02 21:26:08 +10:00
parent de3b4d1800
commit c604cac551
2 changed files with 0 additions and 9 deletions

View File

@ -275,7 +275,6 @@ public class FieldRename {
.change("SPELL", "EFFECT")
.change("SPELL_INSTANT", "INSTANT_EFFECT")
.change("SPELL_MOB", "ENTITY_EFFECT")
.change("SPELL_MOB_AMBIENT", "AMBIENT_ENTITY_EFFECT")
.change("SPELL_WITCH", "WITCH")
.change("DRIP_WATER", "DRIPPING_WATER")
.change("DRIP_LAVA", "DRIPPING_LAVA")

View File

@ -271,14 +271,6 @@ public class Commodore {
}
}
if (owner.equals("org/bukkit/Particle")) {
switch (name) {
case "SPELL_MOB_AMBIENT":
super.visitFieldInsn(opcode, owner, "SPELL_MOB", desc);
return;
}
}
super.visitFieldInsn(opcode, owner, name, desc);
}