Handle tile entity lookup in 1.20.5

This commit is contained in:
Michael Primm 2024-04-28 14:01:07 -05:00
parent e086930133
commit 1d6346b580
18 changed files with 39 additions and 38 deletions

View file

@ -362,7 +362,7 @@ public class BukkitVersionHelperSpigot120_2 extends BukkitVersionHelper {
}
@Override
public Object readTileEntityNBT(Object te) {
public Object readTileEntityNBT(Object te, org.bukkit.World w) {
TileEntity tileent = (TileEntity) te;
NBTTagCompound nbt = tileent.n();
return nbt;