From a6e83a25eb5e41d8964b81d8c20ba9c97c691a3c Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Sun, 9 Jun 2024 13:42:09 +0200 Subject: [PATCH] Make CrashHandler#crashed public --- .../sosengine/base/logging/CrashHandler.java | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/base/src/main/java/de/staropensource/sosengine/base/logging/CrashHandler.java b/base/src/main/java/de/staropensource/sosengine/base/logging/CrashHandler.java index 31e8b414..74285446 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/logging/CrashHandler.java +++ b/base/src/main/java/de/staropensource/sosengine/base/logging/CrashHandler.java @@ -43,17 +43,12 @@ import java.util.*; @SuppressWarnings({ "unused", "JavadocDeclaration", "JavadocBlankLines" }) public class CrashHandler { /** - * Hopefully {@code false} :) + * Hopefully {@code false} :)
+ * Note: Switching this to true might cause issues. Just don't do it ^^ * * @since 1-alpha0 - * - * -- GETTER -- - * Hopefully {@code false} :) - * - * @return if the engine is in a crashed state - * @since 1-alpha0 */ - private static boolean crashed = false; + public static boolean crashed = false; /** * Contains the template used to print a crash report.