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

@@ -33,6 +33,10 @@
**Features** **Features**
- Port to Minecraft 1.9.4 - Port to Minecraft 1.9.4
### 0.6.13
**Bugfixes**
- Performance improvements
### 0.6.12 ### 0.6.12
This is a bugfix release containing all fixes from the 1.9.4 version. This is a bugfix release containing all fixes from the 1.9.4 version.

View File

@@ -32,7 +32,7 @@ public abstract class TileBase extends TileEntity implements ITickable {
if (!worldObj.isRemote) { if (!worldObj.isRemote) {
if (this instanceof ISynchronizedContainer) { if (this instanceof ISynchronizedContainer) {
for (EntityPlayer player : worldObj.playerEntities) { 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); RefinedStorage.NETWORK.sendTo(new MessageTileContainerUpdate(this), (EntityPlayerMP) player);
} }
} }