diff --git a/src/main/java/com/gmail/nossr50/config/ConfigLoader.java b/src/main/java/com/gmail/nossr50/config/ConfigLoader.java index eb5fba2dd..0627ac4e6 100644 --- a/src/main/java/com/gmail/nossr50/config/ConfigLoader.java +++ b/src/main/java/com/gmail/nossr50/config/ConfigLoader.java @@ -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...");