Storage Bus no longer shows items that cannot be extracted.

This commit is contained in:
AlgorithmX2
2014-08-11 22:56:33 -05:00
parent 0e65911673
commit feb7d7be95
3 changed files with 9 additions and 3 deletions
+6 -2
View File
@@ -341,8 +341,12 @@ public class AdaptorIInventory extends InventoryAdaptor
@Override
public ItemSlot next()
{
is.slot = x;
is.setItemStack( i.getStackInSlot( x++ ) );
ItemStack iss = i.getStackInSlot( x );
is.isExtractable = canRemoveStackFromSlot( x, iss );
is.setItemStack( iss );
is.slot = x++;
return is;
}