From b0f951729f540e74af7704c484b5d0a36b2d0a1d Mon Sep 17 00:00:00 2001 From: hondacrx Date: Sat, 6 Mar 2021 21:40:30 -0500 Subject: [PATCH] Core/Command: Fix displaying npcflags. --- Source/Game/Chat/Commands/NPCCommands.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Game/Chat/Commands/NPCCommands.cs b/Source/Game/Chat/Commands/NPCCommands.cs index a30c32ef4..2b5b67c80 100644 --- a/Source/Game/Chat/Commands/NPCCommands.cs +++ b/Source/Game/Chat/Commands/NPCCommands.cs @@ -125,7 +125,7 @@ namespace Game.Chat CreatureTemplate cInfo = target.GetCreatureTemplate(); uint faction = target.GetFaction(); - ulong npcflags = (ulong)target.m_unitData.NpcFlags[0] << 32 | target.m_unitData.NpcFlags[1]; + ulong npcflags = (ulong)target.m_unitData.NpcFlags[1] << 32 | target.m_unitData.NpcFlags[0]; uint mechanicImmuneMask = cInfo.MechanicImmuneMask; uint displayid = target.GetDisplayId(); uint nativeid = target.GetNativeDisplayId();