diff --git a/src/main/java/net/minecraftforge/fml/StartupQuery.java b/src/main/java/net/minecraftforge/fml/StartupQuery.java index d8d675e314..152e84dda3 100644 --- a/src/main/java/net/minecraftforge/fml/StartupQuery.java +++ b/src/main/java/net/minecraftforge/fml/StartupQuery.java @@ -118,7 +118,6 @@ public class StartupQuery { MinecraftServer server = ServerLifecycleHooks.getCurrentServer(); if (server != null) server.initiateShutdown(false); - aborted = true; // to abort loading and go back to the main menu throw new AbortedException(); // to halt the server } @@ -128,7 +127,6 @@ public class StartupQuery { public static void reset() { pending = null; - aborted = false; } public static boolean check() @@ -156,7 +154,7 @@ public class StartupQuery { pending = null; } - return !aborted; + return true; } private void throwException() throws InterruptedException @@ -165,7 +163,6 @@ public class StartupQuery { } private static volatile StartupQuery pending; - private static volatile boolean aborted = false; private StartupQuery(String header, String text, String action, @Nullable AtomicBoolean result)