aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-12-02 12:10:59 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-12-02 12:10:59 +0100
commitb99b36755dbd4121db38629b2abb6d1ad5d39fb8 (patch)
tree4d9361ed8656eabe3add92fcb9c57e18feba8860 /src/main/java/at/hannibal2/skyhanni/config
parenta11d12c0cc4202715ea4305f5bced886d6a7df4f (diff)
downloadskyhanni-b99b36755dbd4121db38629b2abb6d1ad5d39fb8.tar.gz
skyhanni-b99b36755dbd4121db38629b2abb6d1ad5d39fb8.tar.bz2
skyhanni-b99b36755dbd4121db38629b2abb6d1ad5d39fb8.zip
better shutdown logic
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/ConfigManager.kt5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/ConfigManager.kt b/src/main/java/at/hannibal2/skyhanni/config/ConfigManager.kt
index 0d806119f..9025703f5 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/ConfigManager.kt
+++ b/src/main/java/at/hannibal2/skyhanni/config/ConfigManager.kt
@@ -187,10 +187,7 @@ class ConfigManager {
run()
} catch (e: Throwable) {
e.printStackTrace()
- println("This is a crash.")
- while (true) {
- // If you know the forge method to shut down correctly, please quietly pr it.
- }
+ LorenzUtils.shutdownMinecraft("Config is corrupt inside developement enviroment.")
}
} else {
run()