Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-12-27 08:30:12 +01:00
Fix custom item register message being printed twice
Dieser Commit ist enthalten in:
Ursprung
4b847350b6
Commit
ebcb82c7e7
@ -104,11 +104,6 @@ public class ItemRegistryPopulator {
|
|||||||
CustomItemRegistryPopulator.populate(items, customItems, nonVanillaCustomItems);
|
CustomItemRegistryPopulator.populate(items, customItems, nonVanillaCustomItems);
|
||||||
}
|
}
|
||||||
|
|
||||||
int customItemCount = customItems.size() + nonVanillaCustomItems.size();
|
|
||||||
if (customItemCount > 0) {
|
|
||||||
GeyserImpl.getInstance().getLogger().info("Registered " + customItemCount + " custom items");
|
|
||||||
}
|
|
||||||
|
|
||||||
// We can reduce some operations as Java information is the same across all palette versions
|
// We can reduce some operations as Java information is the same across all palette versions
|
||||||
boolean firstMappingsPass = true;
|
boolean firstMappingsPass = true;
|
||||||
Int2IntMap dyeColors = new FixedInt2IntMap();
|
Int2IntMap dyeColors = new FixedInt2IntMap();
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren