Move config initialization to PostInit event
This commit is contained in:
parent
d70d0c2d38
commit
f4658f6b3d
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue