diff options
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/e.java')
-rwxr-xr-x | src/main/java/kr/syeyoung/dungeonsguide/e.java | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/e.java b/src/main/java/kr/syeyoung/dungeonsguide/e.java index 4835b114..8e5bb478 100755 --- a/src/main/java/kr/syeyoung/dungeonsguide/e.java +++ b/src/main/java/kr/syeyoung/dungeonsguide/e.java @@ -46,6 +46,13 @@ public class e implements c { public void init(FMLInitializationEvent event) { + + try { + Config.loadConfig( null ); + } catch (IOException e) { + e.printStackTrace(); + } + dungeonsGuide = this; skyblockStatus = new SkyblockStatus(); @@ -83,11 +90,7 @@ public class e implements c { if (!configFile.exists()) { configDir.mkdirs(); } - try { - Config.loadConfig( configFile ); - } catch (IOException e) { - e.printStackTrace(); - } + Config.f = configFile; } private void copy(InputStream inputStream, File f) throws IOException { FileOutputStream fos = new FileOutputStream(f); |