From ebcb82c7e7911ddcd277f6d44226207d101b2ad9 Mon Sep 17 00:00:00 2001 From: Camotoy <20743703+Camotoy@users.noreply.github.com> Date: Fri, 23 Dec 2022 12:18:09 -0500 Subject: [PATCH] Fix custom item register message being printed twice --- .../geyser/registry/populator/ItemRegistryPopulator.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/core/src/main/java/org/geysermc/geyser/registry/populator/ItemRegistryPopulator.java b/core/src/main/java/org/geysermc/geyser/registry/populator/ItemRegistryPopulator.java index e847ea153..33e6eea38 100644 --- a/core/src/main/java/org/geysermc/geyser/registry/populator/ItemRegistryPopulator.java +++ b/core/src/main/java/org/geysermc/geyser/registry/populator/ItemRegistryPopulator.java @@ -104,11 +104,6 @@ public class ItemRegistryPopulator { 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 boolean firstMappingsPass = true; Int2IntMap dyeColors = new FixedInt2IntMap();