Hotfix for 0.7.4

This commit is contained in:
Raoul Van den Berge
2016-05-27 22:31:13 +02:00
parent 014cce24f6
commit 1c1d3106ee
2 changed files with 5 additions and 1 deletions

View File

@@ -32,7 +32,7 @@ public abstract class TileBase extends TileEntity implements ITickable {
if (!worldObj.isRemote) {
if (this instanceof ISynchronizedContainer) {
for (EntityPlayer player : worldObj.playerEntities) {
if (((ISynchronizedContainer) this).getContainer() == player.openContainer.getClass() && ticks % 4 == 0) {
if (((ISynchronizedContainer) this).getContainer() == player.openContainer.getClass()) {
RefinedStorage.NETWORK.sendTo(new MessageTileContainerUpdate(this), (EntityPlayerMP) player);
}
}