Core/Misc: Include source object information in ObjectMgr::GetClosestGraveyard() log message

Port From (https://github.com/TrinityCore/TrinityCore/commit/7de212a6407095d25d7437541ada469118cad102)
This commit is contained in:
Hondacrx
2025-08-25 21:10:46 -04:00
parent 6bdbcf24e1
commit 8a1e28bcc6
+1 -1
View File
@@ -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);
}
}