mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-22 15:48:22 +00:00
[Commands] Cleanup #gender Command. (#1832)
- Cleanup message and logic. - Cleanup other spots using similar logic so they're all uniform.
This commit is contained in:
@@ -12,17 +12,16 @@ void command_getplayerburiedcorpsecount(Client *c, const Seperator *sep)
|
||||
c->Message(
|
||||
Chat::White,
|
||||
fmt::format(
|
||||
"{} {} {} buried corpse{}.",
|
||||
"{} {} buried corpse{}.",
|
||||
(
|
||||
c == target ?
|
||||
"You" :
|
||||
"You have" :
|
||||
fmt::format(
|
||||
"{} ({})",
|
||||
"{} ({}) has",
|
||||
target->GetCleanName(),
|
||||
target->GetID()
|
||||
)
|
||||
),
|
||||
c == target ? "have" : "has",
|
||||
(
|
||||
corpse_count ?
|
||||
std::to_string(corpse_count) :
|
||||
|
||||
Reference in New Issue
Block a user