Skip to content

Commit

Permalink
Moved ConfigSetup.init() a bit earlier so it comes before registring …
Browse files Browse the repository at this point in the history
…messages
  • Loading branch information
McJty committed Mar 13, 2019
1 parent be2e07b commit f4797f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/mcjty/theoneprobe/setup/ModSetup.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ public void preInit(FMLPreInitializationEvent e) {
TheOneProbe.theOneProbeImp.registerEntityProvider(new DebugProbeInfoEntityProvider());
TheOneProbe.theOneProbeImp.registerEntityProvider(new EntityProbeInfoEntityProvider());

PacketHandler.registerMessages("theoneprobe");

modConfigDir = e.getModConfigurationDirectory();
ConfigSetup.init();

PacketHandler.registerMessages("theoneprobe");

setupModCompat();
}

Expand Down

0 comments on commit f4797f1

Please sign in to comment.