forked from GeyserMC/Geyser
Fix some recipes with multiple ingredient options
This commit is contained in:
parent
8e8bc2817a
commit
c2c64fd1cf
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ public class JavaDeclareRecipesTranslator extends PacketTranslator<ServerDeclare
|
||||||
if (entry.getValue().size() < idCount) {
|
if (entry.getValue().size() < idCount) {
|
||||||
optionSet.addAll(entry.getValue());
|
optionSet.addAll(entry.getValue());
|
||||||
} else {
|
} 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 {
|
} else {
|
||||||
ItemData item = entry.getValue().get(0);
|
ItemData item = entry.getValue().get(0);
|
||||||
|
|
Loading…
Reference in a new issue