[Commands] Cleanup #shownpcgloballoot and #showzonegloballoot Commands (#3440)

# Notes
- Cleanup messages and logic.
- Utilize Dialogue Window tables.
This commit is contained in:
Alex King
2023-06-24 14:03:37 -04:00
committed by GitHub
parent 64ae7e4529
commit 4330494f57
4 changed files with 61 additions and 63 deletions
-9
View File
@@ -2,15 +2,6 @@
void command_showzonegloballoot(Client *c, const Seperator *sep)
{
c->Message(
Chat::White,
fmt::format(
"Global loot for {} ({}).",
zone->GetLongName(),
zone->GetZoneID()
).c_str()
);
zone->ShowZoneGlobalLoot(c);
}