add item xxxxx show to who was added item (#27020)
Co-authored-by: Aokromes <[email protected]> (cherry picked from commit 822b32b64bbea2640f68edd9d110f8379c4a3c42)
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
--
|
||||
UPDATE `trinity_string` SET `content_default`='Command : Additem, itemId = %i, amount = %i to %s' WHERE `entry`=494;
|
||||
@@ -1481,6 +1481,7 @@ public:
|
||||
if (count > 0 && item)
|
||||
{
|
||||
player->SendNewItem(item, count, false, true);
|
||||
handler->PSendSysMessage(LANG_ADDITEM, itemId, count, handler->GetNameLink(playerTarget).c_str());
|
||||
if (player != playerTarget)
|
||||
playerTarget->SendNewItem(item, count, true, false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user