mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-11 21:01:29 +00:00
14 lines
317 B
C++
Executable File
14 lines
317 B
C++
Executable File
#include "../client.h"
|
|
|
|
void command_merchantcloseshop(Client *c, const Seperator *sep)
|
|
{
|
|
Mob *merchant = c->GetTarget();
|
|
if (!merchant || merchant->GetClass() != MERCHANT) {
|
|
c->Message(Chat::White, "You must target a merchant to close their shop.");
|
|
return;
|
|
}
|
|
|
|
merchant->CastToNPC()->MerchantCloseShop();
|
|
}
|
|
|