implemented validForPass on all inventory handlers; allowed crafting to skip second pass.

This commit is contained in:
AlgorithmX2
2014-06-20 02:10:02 -05:00
parent 755e87f006
commit 04797294bb
12 changed files with 78 additions and 6 deletions
+7 -1
View File
@@ -19,7 +19,7 @@ public class SecurityInventory implements IMEInventoryHandler<IAEItemStack>
{
final TileSecurity securityTile;
final public IItemList<IAEItemStack> storedItems = new ItemList(IAEItemStack.class);
final public IItemList<IAEItemStack> storedItems = new ItemList( IAEItemStack.class );
public SecurityInventory(TileSecurity ts) {
securityTile = ts;
@@ -146,4 +146,10 @@ public class SecurityInventory implements IMEInventoryHandler<IAEItemStack>
return 0;
}
@Override
public boolean validForPass(int i)
{
return true;
}
}