3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-12-24 23:30:22 +01:00

Fix firework stars being unobtainable from the creative menu

Dieser Commit ist enthalten in:
Camotoy 2021-09-22 19:27:49 -04:00
Ursprung 82bb6ad61f
Commit 27a17ff183
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 7EEFB66FE798081F

Datei anzeigen

@ -121,8 +121,9 @@ public class ItemMappings {
} }
} else { } else {
if (!(mapping.getBedrockData() == data.getDamage() || if (!(mapping.getBedrockData() == data.getDamage() ||
// Make exceptions for potions and tipped arrows, whose damage values can vary // Make exceptions for potions, tipped arrows, and firework stars, whose damage values can vary
(mapping.getJavaIdentifier().endsWith("potion") || mapping.getJavaIdentifier().equals("minecraft:arrow")))) { (mapping.getJavaIdentifier().endsWith("potion") || mapping.getJavaIdentifier().equals("minecraft:arrow")
|| mapping.getJavaIdentifier().equals("minecraft:firework_star")))) {
continue; continue;
} }
} }