Storage Buses no longer error on load.
This commit is contained in:
parent
60d1ecc965
commit
e25014fd5b
1 changed files with 3 additions and 0 deletions
|
@ -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 )
|
||||
|
|
Loading…
Reference in a new issue