Hotfix for 0.7.4
This commit is contained in:
@@ -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.
|
||||||
|
|
||||||
|
|||||||
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user