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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user