aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr/syeyoung/dungeonsguide/DungeonsGuide.java
diff options
context:
space:
mode:
authorsyeyoung <cyong06@naver.com>2021-05-23 17:38:57 +0900
committersyeyoung <cyong06@naver.com>2021-05-23 17:38:57 +0900
commitbd37606a7fd3f46606b0eded6faa48131ae0a406 (patch)
tree2a67ad842f821c817806c3f6583a746c8c40ad6e /src/main/java/kr/syeyoung/dungeonsguide/DungeonsGuide.java
parent08fea7fdbea175ca09ccde72ef62ee7e36026fe0 (diff)
downloadSkyblock-Dungeons-Guide-bd37606a7fd3f46606b0eded6faa48131ae0a406.tar.gz
Skyblock-Dungeons-Guide-bd37606a7fd3f46606b0eded6faa48131ae0a406.tar.bz2
Skyblock-Dungeons-Guide-bd37606a7fd3f46606b0eded6faa48131ae0a406.zip
Add first-time-installing-dungeonsguide-message
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;