Attempted to fix sync issues

This commit is contained in:
modmuss50 2015-05-03 08:16:59 +01:00
parent fc82d9aa56
commit 18c2ec19cf
2 changed files with 48 additions and 44 deletions

View file

@ -1 +1,3 @@
# TechReborn # TechReborn
[![Build Status](http://modmuss50.me:8080/buildStatus/icon?job=TechReborn)](http://modmuss50.me:8080/job/TechReborn/)

View file

@ -33,6 +33,7 @@ public class TileQuantumChest extends TileMachineBase implements IInventory,
@Override @Override
public void updateEntity() public void updateEntity()
{ {
if(!worldObj.isRemote){
if (storedItem != null) if (storedItem != null)
{ {
ItemStack fakeStack = storedItem.copy(); ItemStack fakeStack = storedItem.copy();
@ -82,6 +83,7 @@ public class TileQuantumChest extends TileMachineBase implements IInventory,
storedItem = null; storedItem = null;
} }
} }
}
syncWithAll(); syncWithAll();
} }