Core/Spells: Fix loading order and apply custom spell flags correctly
This commit is contained in:
@@ -1283,6 +1283,9 @@ void World::SetInitialWorldSettings()
|
|||||||
sLog->outString("Loading SpellInfo store...");
|
sLog->outString("Loading SpellInfo store...");
|
||||||
sSpellMgr->LoadSpellInfoStore();
|
sSpellMgr->LoadSpellInfoStore();
|
||||||
|
|
||||||
|
sLog->outString("Loading SkillLineAbilityMultiMap Data...");
|
||||||
|
sSpellMgr->LoadSkillLineAbilityMap();
|
||||||
|
|
||||||
sLog->outString("Loading spell custom attributes...");
|
sLog->outString("Loading spell custom attributes...");
|
||||||
sSpellMgr->LoadSpellCustomAttr();
|
sSpellMgr->LoadSpellCustomAttr();
|
||||||
|
|
||||||
@@ -1295,9 +1298,6 @@ void World::SetInitialWorldSettings()
|
|||||||
sLog->outString("Loading Instance Template...");
|
sLog->outString("Loading Instance Template...");
|
||||||
sObjectMgr->LoadInstanceTemplate();
|
sObjectMgr->LoadInstanceTemplate();
|
||||||
|
|
||||||
sLog->outString("Loading SkillLineAbilityMultiMap Data...");
|
|
||||||
sSpellMgr->LoadSkillLineAbilityMap();
|
|
||||||
|
|
||||||
// Must be called before `creature_respawn`/`gameobject_respawn` tables
|
// Must be called before `creature_respawn`/`gameobject_respawn` tables
|
||||||
sLog->outString("Loading instances...");
|
sLog->outString("Loading instances...");
|
||||||
sInstanceSaveMgr->LoadInstances();
|
sInstanceSaveMgr->LoadInstances();
|
||||||
|
|||||||
Reference in New Issue
Block a user