mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-05 11:12:42 +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
|
// Faction
|
||||||
if (target->GetNPCFactionID()) {
|
if (target->GetNPCFactionID()) {
|
||||||
auto faction_id = target->GetNPCFactionID();
|
auto faction_id = target->GetPrimaryFaction();
|
||||||
auto faction_name = content_db.GetFactionName(faction_id);
|
auto faction_name = content_db.GetFactionName(faction_id);
|
||||||
client->Message(
|
client->Message(
|
||||||
Chat::White,
|
Chat::White,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user