Skip to content

Commit

Permalink
Fix neoforge mods not always loading configs
Browse files Browse the repository at this point in the history
  • Loading branch information
rubensworks committed Aug 16, 2024
1 parent 6de62b4 commit 83a3dd2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public ModBase(String modId, Consumer<T> instanceSetter, IEventBus modEventBus)
populateDefaultGenericReferences();

// Initialize config handler
this.onConfigsRegister(getConfigHandler());
this.onConfigsRegister((ConfigHandlerCommon) getConfigHandler());
getConfigHandler().initialize(Lists.newArrayList());
getConfigHandler().loadModInit();

Expand Down

0 comments on commit 83a3dd2

Please sign in to comment.