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:
Ursprung
5ea88a8cf1
Commit
0cc801d047
@ -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());
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren