From d1195f4ac8d50c7e1f369e2956d20db2575b8cc6 Mon Sep 17 00:00:00 2001 From: Zontreck Date: Sun, 18 Feb 2024 03:55:02 -0700 Subject: [PATCH] Fix the server continuing to run when told to stop. --- build.gradle | 1 - gradle.properties | 2 +- src/main/java/dev/zontreck/essentials/AriasEssentials.java | 5 ----- 3 files changed, 1 insertion(+), 7 deletions(-) diff --git a/build.gradle b/build.gradle index fddf603..bb6a1fc 100644 --- a/build.gradle +++ b/build.gradle @@ -95,7 +95,6 @@ minecraft { server { property 'forge.enabledGameTestNamespaces', mod_id - args '--nogui' } // This run config launches GameTestServer and runs all registered gametests, then exits. diff --git a/gradle.properties b/gradle.properties index 78512a5..39ba9aa 100644 --- a/gradle.properties +++ b/gradle.properties @@ -48,7 +48,7 @@ mod_name=Aria's Essentials # The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default. mod_license=GPLv3 # The mod version. See https://semver.org/ -mod_version=1201.2.021624.1539 +mod_version=1201.2.021824.0354 # The group ID for the mod. It is only important when publishing as an artifact to a Maven repository. # This should match the base package used for the mod sources. # See https://maven.apache.org/guides/mini/guide-naming-conventions.html diff --git a/src/main/java/dev/zontreck/essentials/AriasEssentials.java b/src/main/java/dev/zontreck/essentials/AriasEssentials.java index 16166a6..8fa0705 100644 --- a/src/main/java/dev/zontreck/essentials/AriasEssentials.java +++ b/src/main/java/dev/zontreck/essentials/AriasEssentials.java @@ -66,7 +66,6 @@ public class AriasEssentials { { IEventBus bus = FMLJavaModLoadingContext.get().getModEventBus(); bus.addListener(this::setup); - DelayedExecutorService.setup(); AEServerConfig.loadFromFile(); AEClientConfig.loadFromFile(); @@ -110,7 +109,6 @@ public class AriasEssentials { { ALIVE=true; - } @@ -119,9 +117,6 @@ public class AriasEssentials { { ALIVE=false; LOGGER.info("Tearing down Aria's Essentials functions and tasks"); - DelayedExecutorService.stop(); - - DelayedExecutorService.getInstance().EXECUTORS.clear(); RTPCaches.Locations.clear(); }