mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 17:57:34 +01:00
Handle renamed ZOMBIE_PIGMAN loot table
By: md_5 <git@md-5.net>
This commit is contained in:
parent
165c8596d8
commit
9b7c2ef5f9
@ -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" ) )
|
||||
|
Loading…
Reference in New Issue
Block a user