Change configuration file path
This commit is contained in:
1 parent
8887bfc6e8
commit
84243617f3
2 files changed
+7
-3
No files matched your search
@@ -25,7 +25,7 @@ public class Config extends AbstractConfig {
|
||||
private static final Config CONFIG = new Config();
|
||||
|
||||
public static void reload() {
|
||||
File configPath = new File(System.getProperty("user.home") + File.separator + "share" + File.separator + "configs" + File.separator + "gridlines");
|
||||
File configPath = new File("mnt" + File.separator + "configs" + File.separator + "gridlines");
|
||||
CONFIG.reload(configPath.toPath().resolve("config.yml"), Config.class);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user