mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-12 21:19:08 +01:00
Merge pull request #5337 from LiMCrosS/patch-1
Core/World: WorldState must be loaded before Conditions
This commit is contained in:
@@ -1590,6 +1590,9 @@ void World::SetInitialWorldSettings()
|
||||
sLog->outString("Loading Creature Formations...");
|
||||
FormationMgr::LoadCreatureFormations();
|
||||
|
||||
sLog->outString("Loading World States..."); // must be loaded before battleground, outdoor PvP and conditions
|
||||
LoadWorldStates();
|
||||
|
||||
sLog->outString("Loading Conditions...");
|
||||
sConditionMgr->LoadConditions();
|
||||
|
||||
@@ -1717,9 +1720,6 @@ void World::SetInitialWorldSettings()
|
||||
|
||||
sTicketMgr->Initialize();
|
||||
|
||||
sLog->outString("Loading World States..."); // must be loaded before battleground and outdoor PvP
|
||||
LoadWorldStates();
|
||||
|
||||
///- Initialize Battlegrounds
|
||||
sLog->outString("Starting Battleground System");
|
||||
sBattlegroundMgr->CreateInitialBattlegrounds();
|
||||
|
||||
Reference in New Issue
Block a user