diff options
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/Config.java')
-rw-r--r-- | src/main/java/kr/syeyoung/dungeonsguide/Config.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/Config.java b/src/main/java/kr/syeyoung/dungeonsguide/Config.java index 07dc6d41..adbb2da4 100644 --- a/src/main/java/kr/syeyoung/dungeonsguide/Config.java +++ b/src/main/java/kr/syeyoung/dungeonsguide/Config.java @@ -21,11 +21,11 @@ public class Config { public static boolean solver_creeper; public static boolean solver_teleport; - public static void syncConfig(Configuration configuration) { // Gets called from preInit + public static void syncConfig(boolean load) { // Gets called from preInit try { - Config.configuration = configuration; // Load config - configuration.load(); + if (load) + configuration.load(); // Read props from config DEBUG = configuration.get(Config.CATEGORY_ADVANCED, "debug","false", "Enable debug mode").getBoolean(); // Comment |