Fortify ItemLists.
This commit is contained in:
@@ -336,7 +336,7 @@ public class TileChest extends AENetworkPowerTile implements IMEChest, IFluidHan
|
||||
if ( h == null )
|
||||
return null;
|
||||
|
||||
MEInventoryHandler ih = new MEInventoryHandler( h );
|
||||
MEInventoryHandler ih = new MEInventoryHandler( h, h.getChannel().type );
|
||||
ih.myPriority = priority;
|
||||
|
||||
MEMonitorHandler<StackType> g = new ChestMonitorHandler<StackType>( ih );
|
||||
|
||||
@@ -301,7 +301,7 @@ public class TileIOPort extends AENetworkInvTile implements IUpgradeableHost, IC
|
||||
if ( src instanceof IMEMonitor )
|
||||
myList = ((IMEMonitor) src).getStorageList();
|
||||
else
|
||||
myList = src.getAvailableItems( new ItemList() );
|
||||
myList = src.getAvailableItems( new ItemList( src.getChannel().type ) );
|
||||
|
||||
if ( fm == FullnessMode.EMPTY )
|
||||
return myList.isEmpty();
|
||||
@@ -340,7 +340,7 @@ public class TileIOPort extends AENetworkInvTile implements IUpgradeableHost, IC
|
||||
if ( src instanceof IMEMonitor )
|
||||
myList = ((IMEMonitor) src).getStorageList();
|
||||
else
|
||||
myList = src.getAvailableItems( new ItemList() );
|
||||
myList = src.getAvailableItems( new ItemList( src.getChannel().type ) );
|
||||
|
||||
boolean didStuff;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user