From 0cc801d04737156b7c0a7ef4b352c3e9203841dc Mon Sep 17 00:00:00 2001 From: Camotoy <20743703+Camotoy@users.noreply.github.com> Date: Sun, 9 Apr 2023 12:30:25 -0400 Subject: [PATCH] Fix custom items --- .../geyser/registry/populator/ItemRegistryPopulator.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/main/java/org/geysermc/geyser/registry/populator/ItemRegistryPopulator.java b/core/src/main/java/org/geysermc/geyser/registry/populator/ItemRegistryPopulator.java index bb048d954..644bbbf61 100644 --- a/core/src/main/java/org/geysermc/geyser/registry/populator/ItemRegistryPopulator.java +++ b/core/src/main/java/org/geysermc/geyser/registry/populator/ItemRegistryPopulator.java @@ -379,6 +379,7 @@ public class ItemRegistryPopulator { // ComponentItemData - used to register some custom properties componentItemData.add(customMapping.componentItemData()); customItemOptions.add(Pair.of(customItem.customItemOptions(), customMapping.itemDefinition())); + registry.put(customMapping.integerId(), customMapping.itemDefinition()); customIdMappings.put(customMapping.integerId(), customMapping.stringId()); }