From 95e76df6ff0952e1eb38a6e9e26236cbe2e67716 Mon Sep 17 00:00:00 2001 From: Caydan Date: Sun, 28 Jan 2018 18:22:34 +0100 Subject: [PATCH] Core/Globals: Fixed FormatException on startup (#16) --- Source/Game/Globals/ObjectManager.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/Game/Globals/ObjectManager.cs b/Source/Game/Globals/ObjectManager.cs index f2514b666..9fc023938 100644 --- a/Source/Game/Globals/ObjectManager.cs +++ b/Source/Game/Globals/ObjectManager.cs @@ -4010,7 +4010,7 @@ namespace Game if (data.rotation.X < -1.0f || data.rotation.X > 1.0f) { - Log.outError(LogFilter.Sql, "Table `gameobject` has gameobject (GUID: {0} Entry: {1}) with invalid rotationX ({1}) value, skip", guid, data.id, data.rotation.X); + Log.outError(LogFilter.Sql, "Table `gameobject` has gameobject (GUID: {0} Entry: {1}) with invalid rotationX ({2}) value, skip", guid, data.id, data.rotation.X); continue; } @@ -4022,13 +4022,13 @@ namespace Game if (data.rotation.Z < -1.0f || data.rotation.Z > 1.0f) { - Log.outError(LogFilter.Sql, "Table `gameobject` has gameobject (GUID: {0} Entry: {1}) with invalid rotationZ ({3}) value, skip", guid, data.id, data.rotation.Z); + Log.outError(LogFilter.Sql, "Table `gameobject` has gameobject (GUID: {0} Entry: {1}) with invalid rotationZ ({2}) value, skip", guid, data.id, data.rotation.Z); continue; } if (data.rotation.W < -1.0f || data.rotation.W > 1.0f) { - Log.outError(LogFilter.Sql, "Table `gameobject` has gameobject (GUID: {0} Entry: {1}) with invalid rotationW ({4}) value, skip", guid, data.id, data.rotation.W); + Log.outError(LogFilter.Sql, "Table `gameobject` has gameobject (GUID: {0} Entry: {1}) with invalid rotationW ({2}) value, skip", guid, data.id, data.rotation.W); continue; }