mirror of
https://github.com/EQEmu/Server.git
synced 2026-01-05 00:03:52 +00:00
tidied
This commit is contained in:
parent
454a5c4527
commit
3e50332c23
@ -3931,7 +3931,8 @@ void command_faction(Client *c, const Seperator *sep)
|
||||
if (c->GetTarget()->IsNPC()) {
|
||||
npcfac = c->GetTarget()->CastToNPC()->GetPrimaryFaction();
|
||||
npcname = c->GetTarget()->CastToNPC()->GetCleanName();
|
||||
c->Message(Chat::Yellow, "( Target Npc: %s : has primary faction id: %s )", npcname.c_str(), std::to_string(npcfac).c_str());
|
||||
std::string blurb = fmt::format("( Target Npc: {} : has primary faction id: {} )", npcname, npcfac);
|
||||
c->Message(Chat::Yellow, blurb.c_str());
|
||||
c->Message(Chat::White, "Use: #setfaction [id] - to alter an NPC's faction");
|
||||
}
|
||||
return;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user