mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-13 11:18:23 +01:00
Handle renamed ZOMBIE_PIGMAN loot table
By: md_5 <git@md-5.net>
This commit is contained in:
parent
165c8596d8
commit
9b7c2ef5f9
1 changed files with 10 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue