Fix some recipes with multiple ingredient options

This commit is contained in:
AJ Ferguson 2020-06-28 13:33:38 -08:00
parent 8e8bc2817a
commit c2c64fd1cf
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ public class JavaDeclareRecipesTranslator extends PacketTranslator<ServerDeclare
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);