add item xxxxx show to who was added item

Port From (https://github.com/TrinityCore/TrinityCore/commit/e799c4e00334db014217a85af8765a2859dc47f9)
This commit is contained in:
hondacrx
2022-06-10 14:10:53 -04:00
parent ed6a920954
commit 130444d893
@@ -175,6 +175,7 @@ namespace Game.Chat
if (count > 0 && item)
{
player.SendNewItem(item, (uint)count, false, true);
handler.SendSysMessage(CypherStrings.Additem, itemId, count, handler.GetNameLink(playerTarget));
if (player != playerTarget)
playerTarget.SendNewItem(item, (uint)count, true, false);
}