Attempted to fix sync issues
This commit is contained in:
parent
fc82d9aa56
commit
18c2ec19cf
2 changed files with 48 additions and 44 deletions
|
@ -1 +1,3 @@
|
||||||
# TechReborn
|
# TechReborn
|
||||||
|
|
||||||
|
[![Build Status](http://modmuss50.me:8080/buildStatus/icon?job=TechReborn)](http://modmuss50.me:8080/job/TechReborn/)
|
||||||
|
|
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue