Fix the server continuing to run when told to stop.
This commit is contained in:
parent
32a75c305d
commit
d1195f4ac8
3 changed files with 1 additions and 7 deletions
|
@ -95,7 +95,6 @@ minecraft {
|
||||||
|
|
||||||
server {
|
server {
|
||||||
property 'forge.enabledGameTestNamespaces', mod_id
|
property 'forge.enabledGameTestNamespaces', mod_id
|
||||||
args '--nogui'
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// This run config launches GameTestServer and runs all registered gametests, then exits.
|
// This run config launches GameTestServer and runs all registered gametests, then exits.
|
||||||
|
|
|
@ -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.
|
# The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default.
|
||||||
mod_license=GPLv3
|
mod_license=GPLv3
|
||||||
# The mod version. See https://semver.org/
|
# 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.
|
# 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.
|
# This should match the base package used for the mod sources.
|
||||||
# See https://maven.apache.org/guides/mini/guide-naming-conventions.html
|
# See https://maven.apache.org/guides/mini/guide-naming-conventions.html
|
||||||
|
|
|
@ -66,7 +66,6 @@ public class AriasEssentials {
|
||||||
{
|
{
|
||||||
IEventBus bus = FMLJavaModLoadingContext.get().getModEventBus();
|
IEventBus bus = FMLJavaModLoadingContext.get().getModEventBus();
|
||||||
bus.addListener(this::setup);
|
bus.addListener(this::setup);
|
||||||
DelayedExecutorService.setup();
|
|
||||||
|
|
||||||
AEServerConfig.loadFromFile();
|
AEServerConfig.loadFromFile();
|
||||||
AEClientConfig.loadFromFile();
|
AEClientConfig.loadFromFile();
|
||||||
|
@ -110,7 +109,6 @@ public class AriasEssentials {
|
||||||
{
|
{
|
||||||
ALIVE=true;
|
ALIVE=true;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -119,9 +117,6 @@ public class AriasEssentials {
|
||||||
{
|
{
|
||||||
ALIVE=false;
|
ALIVE=false;
|
||||||
LOGGER.info("Tearing down Aria's Essentials functions and tasks");
|
LOGGER.info("Tearing down Aria's Essentials functions and tasks");
|
||||||
DelayedExecutorService.stop();
|
|
||||||
|
|
||||||
DelayedExecutorService.getInstance().EXECUTORS.clear();
|
|
||||||
RTPCaches.Locations.clear();
|
RTPCaches.Locations.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue