Storage bus can now update all the way down to zero items for External Storages.

This commit is contained in:
AlgorithmX2
2014-05-03 23:14:30 -05:00
parent e1c6b18399
commit 60d1ecc965
2 changed files with 23 additions and 5 deletions
+2 -1
View File
@@ -18,6 +18,7 @@ public class IMEAdaptor extends InventoryAdaptor
IMEInventory<IAEItemStack> target;
BaseActionSource src;
int maxSlots = 0;
public IMEAdaptor(IMEInventory<IAEItemStack> input, BaseActionSource src) {
target = input;
@@ -32,7 +33,7 @@ public class IMEAdaptor extends InventoryAdaptor
@Override
public Iterator<ItemSlot> iterator()
{
return new IMEAdaptorIterator( getList() );
return new IMEAdaptorIterator( this, getList() );
}
public ItemStack doRemoveItemsFuzzy(int how_many, ItemStack Filter, IInventoryDestination destination, Actionable type, FuzzyMode fuzzyMode)