mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +01:00
ACTUALLY use the proper path.
This commit is contained in:
parent
e8e2dcff46
commit
2662fee9fb
@ -29,7 +29,7 @@ public abstract class ConfigLoader {
|
|||||||
protected void loadFile() {
|
protected void loadFile() {
|
||||||
if (!configFile.exists()) {
|
if (!configFile.exists()) {
|
||||||
plugin.debug("Creating mcMMO " + fileName + " File...");
|
plugin.debug("Creating mcMMO " + fileName + " File...");
|
||||||
plugin.saveResource(configFile.getPath(), false);
|
plugin.saveResource(configFile.getParentFile().getName() + File.separator + fileName, false);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
plugin.debug("Loading mcMMO " + fileName + " File...");
|
plugin.debug("Loading mcMMO " + fileName + " File...");
|
||||||
|
Loading…
Reference in New Issue
Block a user