Fix custom item register message being printed twice

This commit is contained in:
Camotoy 2022-12-23 12:18:09 -05:00
parent 4b847350b6
commit ebcb82c7e7
No known key found for this signature in database
GPG key ID: 7EEFB66FE798081F

View file

@ -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();