Handle renamed ZOMBIE_PIGMAN loot table

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot 2021-05-09 17:31:20 +10:00
parent 165c8596d8
commit 9b7c2ef5f9

View File

@ -159,6 +159,16 @@ public class Commodore
}
}
if ( owner.equals( "org/bukkit/loot/LootTables" ) )
{
switch ( name )
{
case "ZOMBIE_PIGMAN":
super.visitFieldInsn( opcode, owner, "ZOMBIFIED_PIGLIN", desc );
return;
}
}
if ( modern )
{
if ( owner.equals( "org/bukkit/Material" ) )