Core/Battlefield: Move SendInitWorldStatesTo to Battlefield class

Port From (https://github.com/TrinityCore/TrinityCore/commit/366a514462cc3226ebceb61ef9b3fa372788d230)
This commit is contained in:
hondacrx
2022-02-24 10:56:22 -05:00
parent b9720e3876
commit fbbd15414e
2 changed files with 11 additions and 12 deletions
-12
View File
@@ -786,18 +786,6 @@ namespace Game.BattleFields
workshop.FillInitialWorldStates(packet);
}
void SendInitWorldStatesTo(Player player)
{
InitWorldStates packet = new();
packet.AreaID = m_ZoneId;
packet.MapID = m_MapId;
packet.SubareaID = 0;
FillInitialWorldStates(packet);
player.SendPacket(packet);
}
public override void SendInitWorldStatesToAll()
{
for (byte team = 0; team < SharedConst.PvpTeamsCount; team++)