From 9e5a530f0f4aa626787cf0193fba8582a5b771f0 Mon Sep 17 00:00:00 2001 From: Paul Coene Date: Sat, 7 Jan 2023 19:02:19 -0500 Subject: [PATCH] [Bug Fix] #npcstats command displaying incorrect faction (#2710) --- zone/mob.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone/mob.cpp b/zone/mob.cpp index 204faa36d..3791b6ee1 100644 --- a/zone/mob.cpp +++ b/zone/mob.cpp @@ -1693,7 +1693,7 @@ void Mob::ShowStats(Client* client) // Faction if (target->GetNPCFactionID()) { - auto faction_id = target->GetNPCFactionID(); + auto faction_id = target->GetPrimaryFaction(); auto faction_name = content_db.GetFactionName(faction_id); client->Message( Chat::White,