aboutsummaryrefslogtreecommitdiff
path: root/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/DungeonsGuide.java
diff options
context:
space:
mode:
authorsyeyoung <cyoung06@naver.com>2023-02-07 17:53:24 +0900
committersyeyoung <cyoung06@naver.com>2023-02-07 17:53:24 +0900
commit35d20f0197824ca68fa23ff154ad5a1ca8211334 (patch)
treed16b99f95ec57042dfcbf8fcaf3586965e3761b7 /mod/src/main/java/kr/syeyoung/dungeonsguide/mod/DungeonsGuide.java
parent4fc9f6028bb6f8577d55104f4b56ff8a8434b198 (diff)
downloadSkyblock-Dungeons-Guide-35d20f0197824ca68fa23ff154ad5a1ca8211334.tar.gz
Skyblock-Dungeons-Guide-35d20f0197824ca68fa23ff154ad5a1ca8211334.tar.bz2
Skyblock-Dungeons-Guide-35d20f0197824ca68fa23ff154ad5a1ca8211334.zip
- Freeze Detector
Signed-off-by: syeyoung <cyoung06@naver.com>
Diffstat (limited to 'mod/src/main/java/kr/syeyoung/dungeonsguide/mod/DungeonsGuide.java')
-rwxr-xr-xmod/src/main/java/kr/syeyoung/dungeonsguide/mod/DungeonsGuide.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/DungeonsGuide.java b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/DungeonsGuide.java
index 303caea8..b6e92feb 100755
--- a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/DungeonsGuide.java
+++ b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/DungeonsGuide.java
@@ -34,6 +34,7 @@ import kr.syeyoung.dungeonsguide.mod.discord.DiscordIntegrationManager;
import kr.syeyoung.dungeonsguide.mod.dungeon.DungeonFacade;
import kr.syeyoung.dungeonsguide.mod.events.annotations.EventHandlerRegistry;
import kr.syeyoung.dungeonsguide.mod.events.listener.DungeonListener;
+import kr.syeyoung.dungeonsguide.mod.events.listener.FreezeListener;
import kr.syeyoung.dungeonsguide.mod.events.listener.PacketInjector;
import kr.syeyoung.dungeonsguide.mod.events.listener.PacketListener;
import kr.syeyoung.dungeonsguide.mod.features.FeatureRegistry;
@@ -171,6 +172,8 @@ public class DungeonsGuide implements DGInterface {
public void init(File f) {
ProgressManager.ProgressBar progressbar = ProgressManager.push("DungeonsGuide", 4);
+ registerEventsForge(new FreezeListener());
+
progressbar.step("Creating Configuration");
File configFile = new File(Main.getConfigDir(), "config.json");