Fixed a hardcoded path separator to be more OS independent.
This commit is contained in:
parent
e95fb5615c
commit
03d75f03bf
2 changed files with 2 additions and 2 deletions
|
@ -95,7 +95,7 @@ public class EquivalentExchange3 {
|
||||||
LocalizationHandler.loadLanguages();
|
LocalizationHandler.loadLanguages();
|
||||||
|
|
||||||
// Initialize the configuration
|
// Initialize the configuration
|
||||||
ConfigurationHandler.init(new File(event.getModConfigurationDirectory().getAbsolutePath() + "\\ee3\\" + Reference.MOD_ID + ".cfg"));
|
ConfigurationHandler.init(new File(event.getModConfigurationDirectory().getAbsolutePath() + File.separator + Reference.CHANNEL_NAME + File.separator + Reference.MOD_ID + ".cfg"));
|
||||||
|
|
||||||
// Conduct the version check and log the result
|
// Conduct the version check and log the result
|
||||||
VersionHelper.execute();
|
VersionHelper.execute();
|
||||||
|
|
|
@ -15,7 +15,7 @@ public class Reference {
|
||||||
public static final boolean DEBUG_MODE = false;
|
public static final boolean DEBUG_MODE = false;
|
||||||
|
|
||||||
/* General Mod related constants */
|
/* General Mod related constants */
|
||||||
public static final String MOD_ID = "EE3";
|
public static final String MOD_ID = "ee3";
|
||||||
public static final String MOD_NAME = "Equivalent Exchange 3";
|
public static final String MOD_NAME = "Equivalent Exchange 3";
|
||||||
public static final String VERSION = "@VERSION@";
|
public static final String VERSION = "@VERSION@";
|
||||||
public static final String CHANNEL_NAME = MOD_ID;
|
public static final String CHANNEL_NAME = MOD_ID;
|
||||||
|
|
Loading…
Reference in a new issue