Core/WorldStates: Migrate battleground HolidayWorldState to new system
Port From (https://github.com/TrinityCore/TrinityCore/commit/020166649dd5afb94dddbfcc990d4bb51e231ab1)
This commit is contained in:
@@ -717,20 +717,6 @@ namespace Game.Entities
|
||||
return true;
|
||||
}
|
||||
|
||||
void SendBGWeekendWorldStates()
|
||||
{
|
||||
foreach (var bl in CliDB.BattlemasterListStorage.Values)
|
||||
{
|
||||
if (bl.HolidayWorldState != 0)
|
||||
{
|
||||
if (Global.BattlegroundMgr.IsBGWeekend((BattlegroundTypeId)bl.Id))
|
||||
SendUpdateWorldState(bl.HolidayWorldState, 1);
|
||||
else
|
||||
SendUpdateWorldState(bl.HolidayWorldState, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void SendPvpRewards()
|
||||
{
|
||||
//WorldPacket packet(SMSG_REQUEST_PVP_REWARDS_RESPONSE, 24);
|
||||
|
||||
@@ -2932,7 +2932,6 @@ namespace Game.Entities
|
||||
packet.AddState(3901, previousArenaSeason);
|
||||
|
||||
SendPacket(packet);
|
||||
SendBGWeekendWorldStates();
|
||||
}
|
||||
|
||||
public long GetBarberShopCost(List<ChrCustomizationChoice> newCustomizations)
|
||||
|
||||
Reference in New Issue
Block a user