Core/ObjectMgr: Load npc spellclick data after quests.
This commit is contained in:
@@ -1363,12 +1363,6 @@ void World::SetInitialWorldSettings()
|
||||
sLog->outString("Loading Creature Template Addon Data...");
|
||||
sObjectMgr->LoadCreatureAddons(); // must be after LoadCreatureTemplates() and LoadCreatures()
|
||||
|
||||
sLog->outString("Loading UNIT_NPC_FLAG_SPELLCLICK Data...");
|
||||
sObjectMgr->LoadNPCSpellClickSpells();
|
||||
|
||||
sLog->outString("Loading Vehicle Accessories...");
|
||||
sObjectMgr->LoadVehicleAccessories(); // must be after LoadCreatureTemplates() and LoadNPCSpellClickSpells()
|
||||
|
||||
sLog->outString("Loading Creature Respawn Data..."); // must be after PackInstances()
|
||||
sObjectMgr->LoadCreatureRespawnTimes();
|
||||
|
||||
@@ -1405,6 +1399,12 @@ void World::SetInitialWorldSettings()
|
||||
sLog->outString("Loading Game Event Data..."); // must be after loading pools fully
|
||||
sGameEventMgr->LoadFromDB(); // TODOLEAK: add scopes
|
||||
|
||||
sLog->outString("Loading UNIT_NPC_FLAG_SPELLCLICK Data...");
|
||||
sObjectMgr->LoadNPCSpellClickSpells();
|
||||
|
||||
sLog->outString("Loading Vehicle Accessories...");
|
||||
sObjectMgr->LoadVehicleAccessories(); // must be after LoadCreatureTemplates() and LoadNPCSpellClickSpells()
|
||||
|
||||
sLog->outString("Loading Dungeon boss data...");
|
||||
sObjectMgr->LoadInstanceEncounters();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user