Removed client side block update handling
This commit is contained in:
parent
004bdcb4d3
commit
ceb8245381
1 changed files with 4 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue