Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-11-05 07:40:11 +01:00
Fix firework stars being unobtainable from the creative menu
Dieser Commit ist enthalten in:
Ursprung
82bb6ad61f
Commit
27a17ff183
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren