public static void EnableAsyncTasks(this ICoreServerAPI api) { api.Event.SaveGameLoaded += () => { if (!api.IsServerSystemLoaded <ServerSystemAsyncActions>()) { api.InjectServerThread("AsyncActions", new ServerSystemAsyncActions(api.World as ServerMain)); } }; }