diff --git a/src/main/java/com/mmodding/mmodding_lib/client/ClientEvents.java b/src/main/java/com/mmodding/mmodding_lib/client/ClientEvents.java index 851671f..f75fcee 100644 --- a/src/main/java/com/mmodding/mmodding_lib/client/ClientEvents.java +++ b/src/main/java/com/mmodding/mmodding_lib/client/ClientEvents.java @@ -47,7 +47,7 @@ private static void serverJoin(ClientPlayNetworkHandler handler, PacketSender se if (MModdingLibClient.LIBRARY_CLIENT_CONFIG.getContent().getBoolean("showMModdingLibraryClientCaches")) { Caches.CLIENT.forEach(CacheAccess::debugCache); } - WorldUtils.doTaskAfter(client.world, MathHelper.floorDiv(Registry.ITEM.size(), 30), ClientPendingRequestManagers.GLINT_PACK_MANAGER::send); + WorldUtils.doTaskAfter(client.world, MathHelper.floorDiv(Registry.ITEM.size(), 25), ClientPendingRequestManagers.GLINT_PACK_MANAGER::send); } private static void serverDisconnect(ClientPlayNetworkHandler handler, MinecraftClient client) { diff --git a/src/main/java/com/mmodding/mmodding_lib/library/config/ConfigObject.java b/src/main/java/com/mmodding/mmodding_lib/library/config/ConfigObject.java index d4b581f..73c6db6 100644 --- a/src/main/java/com/mmodding/mmodding_lib/library/config/ConfigObject.java +++ b/src/main/java/com/mmodding/mmodding_lib/library/config/ConfigObject.java @@ -6,7 +6,7 @@ import org.jetbrains.annotations.ApiStatus; import java.util.ArrayList; -import java.util.HashMap; +import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.function.Consumer; @@ -42,7 +42,7 @@ public ConfigObject getCategory(String parameter) { } public Map> getConfigElementsMap() { - Map> configElements = new HashMap<>(); + Map> configElements = new LinkedHashMap<>(); this.jsonObject.entrySet().forEach(entry -> configElements.put(entry.getKey(), Value.fromJsonElement(entry.getValue()))); return configElements; }