3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-12-27 00:23:03 +01:00

Fix custom items

Dieser Commit ist enthalten in:
Camotoy 2023-04-09 12:30:25 -04:00
Ursprung 5ea88a8cf1
Commit 0cc801d047

Datei anzeigen

@ -379,6 +379,7 @@ public class ItemRegistryPopulator {
// ComponentItemData - used to register some custom properties // ComponentItemData - used to register some custom properties
componentItemData.add(customMapping.componentItemData()); componentItemData.add(customMapping.componentItemData());
customItemOptions.add(Pair.of(customItem.customItemOptions(), customMapping.itemDefinition())); customItemOptions.add(Pair.of(customItem.customItemOptions(), customMapping.itemDefinition()));
registry.put(customMapping.integerId(), customMapping.itemDefinition());
customIdMappings.put(customMapping.integerId(), customMapping.stringId()); customIdMappings.put(customMapping.integerId(), customMapping.stringId());
} }