Core/Map: Kill zoneId from RespawnInfo, all it did was significantly slow down startup to make one gm command faster

Port From (https://github.com/TrinityCore/TrinityCore/commit/8f3904f8fd4e7536d1e7ba8e701f4774519fd867)
This commit is contained in:
hondacrx
2022-01-04 18:46:40 -05:00
parent bae21a1a96
commit 673d2fff40
5 changed files with 27 additions and 20 deletions
+1 -1
View File
@@ -1953,7 +1953,7 @@ namespace Game.Chat
// Now handle any that had despawned, but had respawn time logged.
List<RespawnInfo> data = new();
player.GetMap().GetRespawnInfo(data, SpawnObjectTypeMask.All, 0);
player.GetMap().GetRespawnInfo(data, SpawnObjectTypeMask.All);
if (!data.Empty())
{
uint gridId = GridDefines.ComputeGridCoord(player.GetPositionX(), player.GetPositionY()).GetId();