From b99b36755dbd4121db38629b2abb6d1ad5d39fb8 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Sat, 2 Dec 2023 12:10:59 +0100 Subject: better shutdown logic --- src/main/java/at/hannibal2/skyhanni/config/ConfigManager.kt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/main/java/at/hannibal2/skyhanni/config') 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() -- cgit