mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 09:06:46 +00:00
[Commands] Cleanup #reloadmerchants Command. (#2123)
* [Commands] Cleanup #reloadmerchants Command. - Cleanup messages and logic. - Make the reloading of merchants global instead of zone specific. * Update worldserver.cpp * Update worldserver.cpp
This commit is contained in:
@@ -2,7 +2,9 @@
|
||||
|
||||
void command_reloadmerchants(Client *c, const Seperator *sep)
|
||||
{
|
||||
entity_list.ReloadMerchants();
|
||||
c->Message(Chat::Yellow, "Reloading merchants.");
|
||||
c->Message(Chat::White, "Attempting to reload merchants globally.");
|
||||
auto pack = new ServerPacket(ServerOP_ReloadMerchants, 0);
|
||||
worldserver.SendPacket(pack);
|
||||
safe_delete(pack);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user