use of io.github.wysohn.triggerreactor.sponge.manager.event.TriggerReactorStopEvent in project TriggerReactor by wysohn.
the class TriggerReactor method onDisable.
@Listener
public void onDisable(GameStoppingServerEvent e) {
try {
Sponge.getEventManager().post(new TriggerReactorStopEvent(TriggerReactor.this));
} finally {
getLogger().info("Shutting down the managers...");
onCoreDisable();
getLogger().info("OK");
getLogger().info("Finalizing the scheduled script executions...");
CACHED_THREAD_POOL.shutdown();
getLogger().info("Shut down complete!");
}
}
Aggregations