mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 18:15:31 +01:00
[7211] Re-calculate "gameobject for quests" data at quest_template reload. By VladimirMangos.
--HG-- branch : trunk
This commit is contained in:
@@ -616,6 +616,11 @@ bool ChatHandler::HandleReloadQuestTemplateCommand(const char*)
|
||||
sLog.outString( "Re-Loading Quest Templates..." );
|
||||
objmgr.LoadQuests();
|
||||
SendGlobalGMSysMessage("DB table `quest_template` (quest definitions) reloaded.");
|
||||
|
||||
/// dependent also from `gameobject` but this table not reloaded anyway
|
||||
sLog.outString( "Re-Loading GameObjects for quests..." );
|
||||
objmgr.LoadGameObjectForQuests();
|
||||
SendGlobalGMSysMessage("Data GameObjects for quests reloaded.");
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user