Removed client side block update handling

This commit is contained in:
Unknown 2018-12-27 20:22:29 +01:00 committed by unknown
parent 004bdcb4d3
commit ceb8245381

View file

@ -201,6 +201,10 @@ public abstract class BlockAbstractContainer extends BlockContainer implements I
return;
}
final TileEntity tileEntity = blockAccess.getTileEntity(blockPos);
if ( tileEntity == null
|| tileEntity.getWorld().isRemote ) {
return;
}
if (tileEntity instanceof IBlockUpdateDetector) {
((IBlockUpdateDetector) tileEntity).onBlockUpdateDetected();
}