Storage Buses no longer error on load.

This commit is contained in:
AlgorithmX2 2014-05-03 23:15:26 -05:00
parent 60d1ecc965
commit e25014fd5b

View file

@ -154,6 +154,9 @@ public class PartStorageBus extends PartUpgradeable implements IGridTickable, IC
if ( monitor != null )
monitor.onTick();
if ( host == null || host.getTile() == null || host.getTile().getWorldObj() == null )
return;
IMEInventory<IAEItemStack> in = getHandler();
IItemList<IAEItemStack> before = AEApi.instance().storage().createItemList();
if ( in != null )