From 6b645642175ce4eaa0bb44af646735fb9ea266f1 Mon Sep 17 00:00:00 2001 From: Ludwig Date: Sat, 22 Feb 2025 21:44:58 +0100 Subject: [PATCH] add enabled hook lists for performance improvement --- src/QueueListCache_SC.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/QueueListCache_SC.cpp b/src/QueueListCache_SC.cpp index ab5b292..76227b7 100644 --- a/src/QueueListCache_SC.cpp +++ b/src/QueueListCache_SC.cpp @@ -66,7 +66,11 @@ class QueueListCache_Command : public CommandScript class QueueListCache_World : public WorldScript { public: - QueueListCache_World() : WorldScript("QueueListCache_World") { } + QueueListCache_World() : WorldScript("QueueListCache_World", { + WORLDHOOK_ON_BEFORE_CONFIG_LOAD, + WORLDHOOK_ON_STARTUP, + WORLDHOOK_ON_UPDATE + }) { } void OnBeforeConfigLoad(bool reload) override {