From 65f7bdb3c025d6f07c09abbdea73d88fb56f0fec Mon Sep 17 00:00:00 2001 From: Oliver <59418903+Oliver-makes-code@users.noreply.github.com> Date: Thu, 9 Jan 2025 12:57:27 -0600 Subject: [PATCH] Fix modded items not having a bedrock ID set (#5271) --- .../geyser/registry/populator/CustomItemRegistryPopulator.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/main/java/org/geysermc/geyser/registry/populator/CustomItemRegistryPopulator.java b/core/src/main/java/org/geysermc/geyser/registry/populator/CustomItemRegistryPopulator.java index 3d2ca4ef9..ec1e16e79 100644 --- a/core/src/main/java/org/geysermc/geyser/registry/populator/CustomItemRegistryPopulator.java +++ b/core/src/main/java/org/geysermc/geyser/registry/populator/CustomItemRegistryPopulator.java @@ -143,6 +143,7 @@ public class CustomItemRegistryPopulator { Items.register(item, customItemData.javaId()); ItemMapping customItemMapping = ItemMapping.builder() + .bedrockIdentifier(customIdentifier) .bedrockDefinition(new SimpleItemDefinition(customIdentifier, customItemId, true)) .bedrockData(0) .bedrockBlockDefinition(null)