ACTUALLY use the proper path.

This commit is contained in:
GJ 2013-10-18 09:50:51 -04:00
parent e8e2dcff46
commit 2662fee9fb

View File

@ -29,7 +29,7 @@ public abstract class ConfigLoader {
protected void loadFile() {
if (!configFile.exists()) {
plugin.debug("Creating mcMMO " + fileName + " File...");
plugin.saveResource(configFile.getPath(), false);
plugin.saveResource(configFile.getParentFile().getName() + File.separator + fileName, false);
}
else {
plugin.debug("Loading mcMMO " + fileName + " File...");