From 3fd2eb126cbed36292fa5defc024c2b93e8d8671 Mon Sep 17 00:00:00 2001 From: Treeston Date: Sun, 20 Sep 2020 02:50:38 +0200 Subject: [3.3.5] ChatCommands, the other half: chat command resolution refactor (PR #25463) (cherry picked from commit 1eca51b417678b9a48b28552925d5694105f82bb) --- src/server/game/World/World.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/server/game/World') diff --git a/src/server/game/World/World.cpp b/src/server/game/World/World.cpp index e9edf05026c..67bd521f23d 100644 --- a/src/server/game/World/World.cpp +++ b/src/server/game/World/World.cpp @@ -38,6 +38,7 @@ #include "CharacterDatabaseCleaner.h" #include "CharacterTemplateDataStore.h" #include "Chat.h" +#include "ChatCommand.h" #include "ChatPackets.h" #include "Config.h" #include "ConversationDataStore.h" @@ -2314,7 +2315,7 @@ void World::SetInitialWorldSettings() sObjectMgr->InitializeQueriesData(QUERY_DATA_ALL); TC_LOG_INFO("server.loading", "Initialize commands..."); - ChatHandler::InitializeCommandTable(); + Trinity::ChatCommands::LoadCommandMap(); ///- Initialize game time and timers TC_LOG_INFO("server.loading", "Initialize game time and timers"); -- cgit v1.2.3