Fixed bug where oredict autocrafting didn't work
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
- Removed MCMultiPart support (will be re-added as soon as MCMultiPart for MC 1.12 is available) (raoulvdberge)
|
||||
- Removed OpenComputers support (will be re-added as soon as OpenComputers for MC 1.12 is available) (raoulvdberge)
|
||||
- The Portable Grid now doesn't despawn anymore when dropped in the world (raoulvdberge)
|
||||
- Fixed bug where oredict autocrafting didn't work (way2muchnoise)
|
||||
|
||||
### 1.4.15
|
||||
- Updated Storage Drawers API, fixes crashes (raoulvdberge)
|
||||
|
@@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user