Fixed a hardcoded path separator to be more OS independent.

This commit is contained in:
pahimar 2013-04-08 22:25:29 -04:00
parent e95fb5615c
commit 03d75f03bf
2 changed files with 2 additions and 2 deletions

View file

@ -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();

View file

@ -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;