Fix Tile data syncing (#763)

This commit is contained in:
Nicholas Ignoffo 2016-05-28 04:53:19 -07:00
parent bdf540aa76
commit a37cf7d60b
6 changed files with 70 additions and 0 deletions

View file

@ -109,6 +109,12 @@ public class TileInventory extends TileEntity implements IInventory
readFromNBT(pkt.getNbtCompound());
}
@Override
public NBTTagCompound getUpdateTag()
{
return writeToNBT(new NBTTagCompound());
}
@Override
public boolean shouldRefresh(World world, BlockPos pos, IBlockState oldState, IBlockState newState)
{