From 4f1ae2fd1b989a8f14f1b9716d2cd87c01407871 Mon Sep 17 00:00:00 2001 From: hondacrx Date: Mon, 5 Feb 2024 17:25:16 -0500 Subject: [PATCH] Core/GameObjects: Fixed incorrect startup error log Port From (https://github.com/TrinityCore/TrinityCore/commit/cda13e2b6bd415bc492bc6f6fe80b8314ae5a8c2) --- 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 80b18ea76..8997aabc5 100644 --- a/Source/Game/Globals/ObjectManager.cs +++ b/Source/Game/Globals/ObjectManager.cs @@ -4732,7 +4732,7 @@ namespace Game if (CliDB.LockStorage.ContainsKey(dataN)) return; - Log.outError(LogFilter.Sql, "Gameobject (Entry: {0} GoType: {1}) have data{2}={3} but lock (Id: {4}) not found.", goInfo.entry, goInfo.type, N, goInfo.Door.open, goInfo.Door.open); + Log.outError(LogFilter.Sql, "Gameobject (Entry: {0} GoType: {1}) have data{2}={3} but lock (Id: {4}) not found.", goInfo.entry, goInfo.type, N, dataN, dataN); } void CheckGOLinkedTrapId(GameObjectTemplate goInfo, uint dataN, uint N)