Storage Buses no longer error on load.
This commit is contained in:
@@ -154,6 +154,9 @@ public class PartStorageBus extends PartUpgradeable implements IGridTickable, IC
|
|||||||
if ( monitor != null )
|
if ( monitor != null )
|
||||||
monitor.onTick();
|
monitor.onTick();
|
||||||
|
|
||||||
|
if ( host == null || host.getTile() == null || host.getTile().getWorldObj() == null )
|
||||||
|
return;
|
||||||
|
|
||||||
IMEInventory<IAEItemStack> in = getHandler();
|
IMEInventory<IAEItemStack> in = getHandler();
|
||||||
IItemList<IAEItemStack> before = AEApi.instance().storage().createItemList();
|
IItemList<IAEItemStack> before = AEApi.instance().storage().createItemList();
|
||||||
if ( in != null )
|
if ( in != null )
|
||||||
|
|||||||
Reference in New Issue
Block a user