mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-20 01:18:21 +00:00
[Commands] Cleanup #shownpcgloballoot and #showzonegloballoot Command. (#2141)
- Cleanup messages and logic.
This commit is contained in:
@@ -4,10 +4,13 @@ void command_showzonegloballoot(Client *c, const Seperator *sep)
|
||||
{
|
||||
c->Message(
|
||||
Chat::White,
|
||||
"GlobalLoot for %s (%d:%d)",
|
||||
zone->GetShortName(),
|
||||
zone->GetZoneID(),
|
||||
zone->GetInstanceVersion());
|
||||
fmt::format(
|
||||
"Global loot for {} ({}).",
|
||||
zone->GetLongName(),
|
||||
zone->GetZoneID()
|
||||
).c_str()
|
||||
);
|
||||
|
||||
zone->ShowZoneGlobalLoot(c);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user