loaded config before Tier.init()
This commit is contained in:
parent
cfcb2b33cf
commit
a25217aab1
1 changed files with 4 additions and 4 deletions
|
@ -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!");
|
||||||
|
|
Loading…
Reference in a new issue