Revert d2e1dc3141 - "Possible fix for #1386", fixes #1439

This commit is contained in:
raoulvdberge
2017-09-01 11:46:21 +02:00
parent 0c6be882e8
commit faa8aa717c
2 changed files with 10 additions and 0 deletions

View File

@@ -266,6 +266,15 @@ public class TileController extends TileBase implements ITickable, INetwork, IRe
return networkItemHandler;
}
@Override
public void invalidate() {
super.invalidate();
if (world != null && !world.isRemote) {
nodeGraph.disconnectAll();
}
}
@Override
public IStorageCache<ItemStack> getItemStorageCache() {
return itemStorage;