Put delayed executor back.. Will fix it instead
This commit is contained in:
parent
d1195f4ac8
commit
bbca9ced21
1 changed files with 3 additions and 0 deletions
|
@ -66,6 +66,7 @@ public class AriasEssentials {
|
|||
{
|
||||
IEventBus bus = FMLJavaModLoadingContext.get().getModEventBus();
|
||||
bus.addListener(this::setup);
|
||||
DelayedExecutorService.setup();
|
||||
|
||||
AEServerConfig.loadFromFile();
|
||||
AEClientConfig.loadFromFile();
|
||||
|
@ -108,6 +109,7 @@ public class AriasEssentials {
|
|||
public void onServerStart(final ServerStartedEvent ev)
|
||||
{
|
||||
ALIVE=true;
|
||||
DelayedExecutorService.start();
|
||||
|
||||
}
|
||||
|
||||
|
@ -117,6 +119,7 @@ public class AriasEssentials {
|
|||
{
|
||||
ALIVE=false;
|
||||
LOGGER.info("Tearing down Aria's Essentials functions and tasks");
|
||||
DelayedExecutorService.stop();
|
||||
RTPCaches.Locations.clear();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue