Fix Tile data syncing (#763)
This commit is contained in:
parent
bdf540aa76
commit
a37cf7d60b
6 changed files with 70 additions and 0 deletions
|
@ -64,6 +64,12 @@ public class TilePhantomBlock extends TileEntity implements ITickable
|
|||
readFromNBT(pkt.getNbtCompound());
|
||||
}
|
||||
|
||||
@Override
|
||||
public NBTTagCompound getUpdateTag()
|
||||
{
|
||||
return writeToNBT(new NBTTagCompound());
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean shouldRefresh(World world, BlockPos pos, IBlockState oldState, IBlockState newState)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue