mirror of
https://github.com/GeyserMC/Geyser.git
synced 2025-01-09 03:43:26 +01:00
Fix build
This commit is contained in:
parent
3fac2cd8f7
commit
361df163b8
1 changed files with 2 additions and 1 deletions
|
@ -585,6 +585,7 @@ public class ItemRegistryPopulator {
|
||||||
registerFurnaceMinecart(nextFreeBedrockId++, componentItemData, palette.protocolVersion);
|
registerFurnaceMinecart(nextFreeBedrockId++, componentItemData, palette.protocolVersion);
|
||||||
|
|
||||||
// Register any completely custom items given to us
|
// Register any completely custom items given to us
|
||||||
|
// TODO broken as of right now
|
||||||
IntSet registeredJavaIds = new IntOpenHashSet(); // Used to check for duplicate item java ids
|
IntSet registeredJavaIds = new IntOpenHashSet(); // Used to check for duplicate item java ids
|
||||||
for (NonVanillaCustomItemData customItem : nonVanillaCustomItems) {
|
for (NonVanillaCustomItemData customItem : nonVanillaCustomItems) {
|
||||||
if (!registeredJavaIds.add(customItem.javaId())) {
|
if (!registeredJavaIds.add(customItem.javaId())) {
|
||||||
|
@ -595,7 +596,7 @@ public class ItemRegistryPopulator {
|
||||||
}
|
}
|
||||||
|
|
||||||
int customItemId = nextFreeBedrockId++;
|
int customItemId = nextFreeBedrockId++;
|
||||||
NonVanillaItemRegistration registration = CustomItemRegistryPopulator_v1.registerCustomItem(customItem, customItemId, palette.protocolVersion);
|
NonVanillaItemRegistration registration = CustomItemRegistryPopulator.registerCustomItem(customItem, customItemId, palette.protocolVersion);
|
||||||
|
|
||||||
componentItemData.add(registration.componentItemData());
|
componentItemData.add(registration.componentItemData());
|
||||||
ItemMapping mapping = registration.mapping();
|
ItemMapping mapping = registration.mapping();
|
||||||
|
|
Loading…
Reference in a new issue