mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Don't show the debug stick in the creative menu
It currently doesn't have a texture, and Java Edition doesn't have the debug stick in its menu.
This commit is contained in:
parent
c18404cb52
commit
0274296366
1 changed files with 3 additions and 0 deletions
|
@ -172,6 +172,9 @@ public class ItemRegistryPopulator {
|
||||||
if (identifier.equals("minecraft:sculk_sensor") && !GeyserConnector.getInstance().getConfig().isExtendedWorldHeight()) {
|
if (identifier.equals("minecraft:sculk_sensor") && !GeyserConnector.getInstance().getConfig().isExtendedWorldHeight()) {
|
||||||
// https://github.com/GeyserMC/Geyser/issues/2564
|
// https://github.com/GeyserMC/Geyser/issues/2564
|
||||||
continue;
|
continue;
|
||||||
|
} else if (identifier.equals("minecraft:debug_stick")) {
|
||||||
|
// Just shows an empty texture; either way it doesn't exist in the creative menu on Java
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
StartGamePacket.ItemEntry entry = entries.get(identifier);
|
StartGamePacket.ItemEntry entry = entries.get(identifier);
|
||||||
int id = -1;
|
int id = -1;
|
||||||
|
|
Loading…
Reference in a new issue