Handle tile entity lookup in 1.20.5
This commit is contained in:
parent
6fc8090f70
commit
38c9281c7a
18 changed files with 39 additions and 38 deletions
|
|
@ -318,7 +318,7 @@ public class BukkitVersionHelperSpigot117 extends BukkitVersionHelper {
|
|||
}
|
||||
|
||||
@Override
|
||||
public Object readTileEntityNBT(Object te) {
|
||||
public Object readTileEntityNBT(Object te, org.bukkit.World w) {
|
||||
TileEntity tileent = (TileEntity) te;
|
||||
NBTTagCompound nbt = new NBTTagCompound();
|
||||
tileent.save(nbt); // readNBT
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue