Skip to content

Commit

Permalink
Fixed bug where oredict autocrafting didn't work in some cases
Browse files Browse the repository at this point in the history
  • Loading branch information
raoulvdberge committed Jun 14, 2017
1 parent edcd3c2 commit eef45cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

### 1.4.16
- The Portable Grid now doesn't despawn anymore when dropped in the world (raoulvdberge)
- Fixed bug where oredict autocrafting didn't work in some cases (way2muchnoise)

### 1.4.15
- Updated Storage Drawers API, fixes crashes (raoulvdberge)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ private ICraftingStep calculate(IStackList<ItemStack> networkList, IStackList<Fl
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().hasPattern(input, compare));
if (i == inputs.size()) {
input = inputs.get(0).copy();
}
Expand Down

0 comments on commit eef45cf

Please sign in to comment.