aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr/syeyoung/dungeonsguide/DungeonsGuide.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/DungeonsGuide.java')
-rwxr-xr-xsrc/main/java/kr/syeyoung/dungeonsguide/DungeonsGuide.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/DungeonsGuide.java b/src/main/java/kr/syeyoung/dungeonsguide/DungeonsGuide.java
index 63ba70a9..a169eeda 100755
--- a/src/main/java/kr/syeyoung/dungeonsguide/DungeonsGuide.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/DungeonsGuide.java
@@ -159,11 +159,14 @@ public class DungeonsGuide implements DGInterface, CloseListener {
ProgressManager.pop(progressbar);
}
+ @Getter
+ private boolean firstTimeUsingDG = false;
public void pre(FMLPreInitializationEvent event) {
configDir = new File(event.getModConfigurationDirectory(),"dungeonsguide");
File configFile = new File(configDir, "config.json");
if (!configFile.exists()) {
configDir.mkdirs();
+ firstTimeUsingDG = true;
}
Config.f = configFile;
Minecraft.getMinecraft().getFramebuffer().enableStencil();
@@ -183,9 +186,6 @@ public class DungeonsGuide implements DGInterface, CloseListener {
inputStream.close();
}
- private void combineConfig(Configuration saved, Configuration newest) {
- }
-
@Getter
private File configDir;