Put delayed executor back.. Will fix it instead

This commit is contained in:
Zontreck 2024-02-18 03:56:17 -07:00
parent d1195f4ac8
commit bbca9ced21

View file

@ -66,6 +66,7 @@ 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();
@ -108,6 +109,7 @@ public class AriasEssentials {
public void onServerStart(final ServerStartedEvent ev) public void onServerStart(final ServerStartedEvent ev)
{ {
ALIVE=true; ALIVE=true;
DelayedExecutorService.start();
} }
@ -117,6 +119,7 @@ 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();
RTPCaches.Locations.clear(); RTPCaches.Locations.clear();
} }