Skip to content

Commit

Permalink
Fixed mod.json issues
Browse files Browse the repository at this point in the history
  • Loading branch information
DustinRepo committed May 18, 2022
1 parent 96c9094 commit 9af97f8
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/main/java/me/dustin/jex/JexClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand All @@ -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;
}

Expand Down

0 comments on commit 9af97f8

Please sign in to comment.