From 48089c8a45c1aab72afaa070081a045ec9b5d336 Mon Sep 17 00:00:00 2001 From: hondacrx Date: Tue, 30 Jan 2024 10:24:48 -0500 Subject: [PATCH] Core/Misc: Fixed copypaste mistake in error log Port From (https://github.com/TrinityCore/TrinityCore/commit/abeb62a18f8c04d2bdf0cbe016e9253e2abcdc0f) --- Source/Game/Globals/ObjectManager.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Game/Globals/ObjectManager.cs b/Source/Game/Globals/ObjectManager.cs index 78b1d3063..ea3695e14 100644 --- a/Source/Game/Globals/ObjectManager.cs +++ b/Source/Game/Globals/ObjectManager.cs @@ -2904,7 +2904,7 @@ namespace Game uint disallowedUnitFlags3 = (cInfo.UnitFlags3 & ~(uint)UnitFlags3.Allowed); if (disallowedUnitFlags3 != 0) { - Log.outError(LogFilter.Sql, $"Table `creature_template` lists creature (Entry: {cInfo.Entry}) with disallowed `unit_flags2` {disallowedUnitFlags3}, removing incorrect flag."); + Log.outError(LogFilter.Sql, $"Table `creature_template` lists creature (Entry: {cInfo.Entry}) with disallowed `unit_flags3` {disallowedUnitFlags3}, removing incorrect flag."); cInfo.UnitFlags3 &= (uint)UnitFlags3.Allowed; } @@ -3666,7 +3666,7 @@ namespace Game uint disallowedUnitFlags3 = (data.unit_flags3.Value & ~(uint)UnitFlags3.Allowed); if (disallowedUnitFlags3 != 0) { - Log.outError(LogFilter.Sql, $"Table `creature_template` lists creature (Entry: {cInfo.Entry}) with disallowed `unit_flags2` {disallowedUnitFlags3}, removing incorrect flag."); + Log.outError(LogFilter.Sql, $"Table `creature_template` lists creature (Entry: {cInfo.Entry}) with disallowed `unit_flags3` {disallowedUnitFlags3}, removing incorrect flag."); data.unit_flags3 = data.unit_flags3 & (uint)UnitFlags3.Allowed; } }