mirror of
https://github.com/EQEmu/Server.git
synced 2026-01-08 19:43:53 +00:00
[Bug Fix] #npcstats command displaying incorrect faction (#2710)
This commit is contained in:
parent
ebf69e9b6e
commit
9e5a530f0f
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user