Core/World: WorldStates must be loaded before Conditions
This commit is contained in:
@@ -1590,6 +1590,9 @@ void World::SetInitialWorldSettings()
|
|||||||
sLog->outString("Loading Creature Formations...");
|
sLog->outString("Loading Creature Formations...");
|
||||||
FormationMgr::LoadCreatureFormations();
|
FormationMgr::LoadCreatureFormations();
|
||||||
|
|
||||||
|
sLog->outString("Loading World States..."); // must be loaded before battleground, outdoor PvP and conditions
|
||||||
|
LoadWorldStates();
|
||||||
|
|
||||||
sLog->outString("Loading Conditions...");
|
sLog->outString("Loading Conditions...");
|
||||||
sConditionMgr->LoadConditions();
|
sConditionMgr->LoadConditions();
|
||||||
|
|
||||||
@@ -1717,9 +1720,6 @@ void World::SetInitialWorldSettings()
|
|||||||
|
|
||||||
sTicketMgr->Initialize();
|
sTicketMgr->Initialize();
|
||||||
|
|
||||||
sLog->outString("Loading World States..."); // must be loaded before battleground and outdoor PvP
|
|
||||||
LoadWorldStates();
|
|
||||||
|
|
||||||
///- Initialize Battlegrounds
|
///- Initialize Battlegrounds
|
||||||
sLog->outString("Starting Battleground System");
|
sLog->outString("Starting Battleground System");
|
||||||
sBattlegroundMgr->CreateInitialBattlegrounds();
|
sBattlegroundMgr->CreateInitialBattlegrounds();
|
||||||
|
|||||||
Reference in New Issue
Block a user