mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 18:52:22 +00:00
Refactor message functions
This commit is contained in:
@@ -7284,7 +7284,7 @@ void bot_subcommand_inventory_remove(Client *c, const Seperator *sep)
|
||||
int ab_mask = (ActionableBots::ABM_Target | ActionableBots::ABM_ByName);
|
||||
|
||||
if (c->GetTradeskillObject() || (c->trade->state == Trading)) {
|
||||
c->Message_StringID(Chat::Tell, MERCHANT_BUSY);
|
||||
c->MessageString(Chat::Tell, MERCHANT_BUSY);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -7310,7 +7310,7 @@ void bot_subcommand_inventory_remove(Client *c, const Seperator *sep)
|
||||
itm = itminst->GetItem();
|
||||
|
||||
if (itminst && itm && c->CheckLoreConflict(itm)) {
|
||||
c->Message_StringID(Chat::WhiteSmoke, PICK_LORE);
|
||||
c->MessageString(Chat::WhiteSmoke, PICK_LORE);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -7324,7 +7324,7 @@ void bot_subcommand_inventory_remove(Client *c, const Seperator *sep)
|
||||
if (!c->CheckLoreConflict(itma->GetItem()))
|
||||
continue;
|
||||
|
||||
c->Message_StringID(Chat::WhiteSmoke, PICK_LORE);
|
||||
c->MessageString(Chat::WhiteSmoke, PICK_LORE);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user