Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-11-20 15:00:11 +01: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.
Dieser Commit ist enthalten in:
Ursprung
c18404cb52
Commit
0274296366
@ -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;
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren