aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config/ConfigManager.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/ConfigManager.kt')
-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()