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
@@ -20,7 +20,7 @@ public class MEPassthru<T extends IAEStack<T>> implements IMEInventoryHandler<T>
return internal;
}
public MEPassthru(IMEInventory<T> i,Class<? extends IAEStack> cla) {
public MEPassthru(IMEInventory<T> i, Class<? extends IAEStack> cla) {
setInternal( i );
clz = cla;
}
@@ -84,4 +84,10 @@ public class MEPassthru<T extends IAEStack<T>> implements IMEInventoryHandler<T>
return 0;
}
@Override
public boolean validForPass(int i)
{
return true;
}
}