loaded config before Tier.init()

This commit is contained in:
Marcel Petzold 2016-07-16 20:02:41 +02:00
parent cfcb2b33cf
commit a25217aab1

View file

@ -1209,14 +1209,14 @@ public class Mekanism
@EventHandler @EventHandler
public void preInit(FMLPreInitializationEvent event) public void preInit(FMLPreInitializationEvent event)
{ {
//Register tier information
Tier.init();
File config = event.getSuggestedConfigurationFile(); File config = event.getSuggestedConfigurationFile();
//Set the mod's configuration //Set the mod's configuration
configuration = new Configuration(config); configuration = new Configuration(config);
//Register tier information
Tier.init();
if(config.getAbsolutePath().contains("voltz")) if(config.getAbsolutePath().contains("voltz"))
{ {
logger.info("Detected Voltz in root directory - hello, fellow user!"); logger.info("Detected Voltz in root directory - hello, fellow user!");