mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 18:15:31 +01:00
Core/Player: Moved character_template from character to world db
This commit is contained in:
@@ -27,6 +27,7 @@ EndScriptData */
|
||||
#include "AreaTriggerDataStore.h"
|
||||
#include "AuctionHouseMgr.h"
|
||||
#include "BattlegroundMgr.h"
|
||||
#include "CharacterTemplateDataStore.h"
|
||||
#include "Chat.h"
|
||||
#include "CreatureTextMgr.h"
|
||||
#include "DisableMgr.h"
|
||||
@@ -387,7 +388,7 @@ public:
|
||||
static bool HandleReloadCharacterTemplate(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading Character Templates...");
|
||||
sObjectMgr->LoadCharacterTemplates();
|
||||
sCharacterTemplateDataStore->LoadCharacterTemplates();
|
||||
handler->SendGlobalGMSysMessage("DB table `character_template` and `character_template_class` reloaded.");
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user