mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Fix firework stars being unobtainable from the creative menu
This commit is contained in:
parent
82bb6ad61f
commit
27a17ff183
1 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue