Fixed bug where oredict autocrafting didn't work

This commit is contained in:
raoulvdberge
2017-06-14 16:08:24 +02:00
parent 401fb0c0eb
commit 32b3575a0e
2 changed files with 2 additions and 1 deletions

View File

@@ -138,7 +138,7 @@ public class CraftingTask implements ICraftingTask {
extraStack = toInsert.get(input, compare);
networkStack = networkList.get(input, compare);
}
while (extraStack == null && networkStack == null && ++i < inputs.size() && network.getCraftingManager().hasPattern(input, compare));
while (extraStack == null && networkStack == null && ++i < inputs.size() && network.getCraftingManager().getPatterns(input, compare).isEmpty());
if (i == inputs.size()) {
input = inputs.get(0).copy();
}