From f4658f6b3d5adaea2d3013f0801078530d0315f4 Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Thu, 13 Sep 2018 15:00:00 +0900 Subject: [PATCH] Move config initialization to PostInit event --- .../TurnBasedMinecraft/common/TurnBasedMinecraftMod.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/seodisparate/TurnBasedMinecraft/common/TurnBasedMinecraftMod.java b/src/main/java/com/seodisparate/TurnBasedMinecraft/common/TurnBasedMinecraftMod.java index c557430..b588521 100644 --- a/src/main/java/com/seodisparate/TurnBasedMinecraft/common/TurnBasedMinecraftMod.java +++ b/src/main/java/com/seodisparate/TurnBasedMinecraft/common/TurnBasedMinecraftMod.java @@ -61,7 +61,6 @@ public class TurnBasedMinecraftMod { currentBattle = null; battleManager = null; - config = new Config(logger); // register packets NWINSTANCE.registerMessage( @@ -93,6 +92,7 @@ public class TurnBasedMinecraftMod @EventHandler public void postInit(FMLPostInitializationEvent event) { + config = new Config(logger); logger.debug("POSTINIT"); }