From 8a1e28bcc67418d5e1ef2508a609b874c8c91401 Mon Sep 17 00:00:00 2001 From: Hondacrx Date: Mon, 25 Aug 2025 21:10:46 -0400 Subject: [PATCH] Core/Misc: Include source object information in ObjectMgr::GetClosestGraveyard() log message Port From (https://github.com/TrinityCore/TrinityCore/commit/7de212a6407095d25d7437541ada469118cad102) --- Source/Game/Globals/ObjectManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Game/Globals/ObjectManager.cs b/Source/Game/Globals/ObjectManager.cs index 17918d794..47f785f03 100644 --- a/Source/Game/Globals/ObjectManager.cs +++ b/Source/Game/Globals/ObjectManager.cs @@ -876,7 +876,7 @@ namespace Game { if (z > -500) { - Log.outError(LogFilter.Server, "ZoneId not found for map {0} coords ({1}, {2}, {3})", MapId, x, y, z); + Log.outError(LogFilter.Server, $"ZoneId not found for map {MapId} coords ({x}, {y}, {z}), object name: {(conditionObject != null ? conditionObject.GetName() : "")} {conditionObject?.GetGUID()}"); return GetDefaultGraveyard(team); } }