Skip to content

Commit

Permalink
Fix some recipes with multiple ingredient options
Browse files Browse the repository at this point in the history
  • Loading branch information
AJ-Ferguson committed Jun 28, 2020
1 parent 8e8bc28 commit c2c64fd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ private ItemData[][] combinations(GeyserSession session, Ingredient[] ingredient
if (entry.getValue().size() < idCount) {
optionSet.addAll(entry.getValue());
} else {
optionSet.add(ItemData.of(groupedItem.id, (short) -1, groupedItem.count, groupedItem.tag));
optionSet.add(ItemData.of(groupedItem.id, Short.MAX_VALUE, groupedItem.count, groupedItem.tag));
}
} else {
ItemData item = entry.getValue().get(0);
Expand Down

0 comments on commit c2c64fd

Please sign in to comment.