Core/Player: Moved character_template from character to world db

This commit is contained in:
joschiwald
2017-01-29 16:09:46 +01:00
parent c8af5de0d3
commit a6d238b833
16 changed files with 232 additions and 196 deletions

View File

@@ -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;
}