Handle renamed ZOMBIE_PIGMAN loot table
This commit is contained in:
parent
8d3051c568
commit
d28f36c684
@ -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 ( modern )
|
||||||
{
|
{
|
||||||
if ( owner.equals( "org/bukkit/Material" ) )
|
if ( owner.equals( "org/bukkit/Material" ) )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user