3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-10-03 08:21:06 +02: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:
Camotoy 2021-11-08 08:33:16 -05:00
Ursprung c18404cb52
Commit 0274296366
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 7EEFB66FE798081F

Datei anzeigen

@ -172,6 +172,9 @@ public class ItemRegistryPopulator {
if (identifier.equals("minecraft:sculk_sensor") && !GeyserConnector.getInstance().getConfig().isExtendedWorldHeight()) {
// https://github.com/GeyserMC/Geyser/issues/2564
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);
int id = -1;