Handle renamed ZOMBIE_PIGMAN loot table

This commit is contained in:
md_5 2021-05-09 17:31:20 +10:00
parent 8d3051c568
commit d28f36c684
No known key found for this signature in database
GPG Key ID: E8E901AC7C617C11

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" ) )