From 9af97f8308227cc58300cf0981795a881ae82f64 Mon Sep 17 00:00:00 2001 From: DustinRepo Date: Wed, 18 May 2022 14:23:00 -0400 Subject: [PATCH] Fixed mod.json issues --- src/main/java/me/dustin/jex/JexClient.java | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/main/java/me/dustin/jex/JexClient.java b/src/main/java/me/dustin/jex/JexClient.java index fbc43d509..7c17da91b 100644 --- a/src/main/java/me/dustin/jex/JexClient.java +++ b/src/main/java/me/dustin/jex/JexClient.java @@ -77,6 +77,12 @@ public void initializeClient() { OptionManager.INSTANCE.initializeOptionManager(); getLogger().info("Initializing Commands"); CommandManagerJex.INSTANCE.registerCommands(); + + if (FabricLoader.getInstance().isDevelopmentEnvironment()) { + getLogger().info("Creating mods.json for website."); + createJson(); + } + getLogger().info("Reading Config Files"); ModFileHelper.INSTANCE.gameBootLoad(); @@ -97,11 +103,6 @@ public void initializeClient() { JexChangelog.loadChangelogList(); JexPlugin.clientLoad(); getLogger().info("Jex load finished."); - - if (FabricLoader.getInstance().isDevelopmentEnvironment()) { - getLogger().info("Creating mods.json for website."); - createJson(); - } loadedOnce = true; }