diff options
| author | Treeston <treeston.mmoc@gmail.com> | 2020-09-20 02:50:38 +0200 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2022-02-27 20:08:41 +0100 |
| commit | 3fd2eb126cbed36292fa5defc024c2b93e8d8671 (patch) | |
| tree | 6068f6e874d7552fcf00a92ca75a85381323a038 /src/server/game/World | |
| parent | 7a2c3af98831364988db25dd1bdd8ca10464c641 (diff) | |
[3.3.5] ChatCommands, the other half: chat command resolution refactor (PR #25463)
(cherry picked from commit 1eca51b417678b9a48b28552925d5694105f82bb)
Diffstat (limited to 'src/server/game/World')
| -rw-r--r-- | src/server/game/World/World.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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"); |
