3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-07-03 20:08:08 +02:00

Fix some recipes with multiple ingredient options

Dieser Commit ist enthalten in:
AJ Ferguson 2020-06-28 13:33:38 -08:00
Ursprung 8e8bc2817a
Commit c2c64fd1cf

Datei anzeigen

@ -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);