add item xxxxx show to who was added item
Port From (https://github.com/TrinityCore/TrinityCore/commit/e799c4e00334db014217a85af8765a2859dc47f9)
This commit is contained in:
@@ -175,6 +175,7 @@ namespace Game.Chat
|
|||||||
if (count > 0 && item)
|
if (count > 0 && item)
|
||||||
{
|
{
|
||||||
player.SendNewItem(item, (uint)count, false, true);
|
player.SendNewItem(item, (uint)count, false, true);
|
||||||
|
handler.SendSysMessage(CypherStrings.Additem, itemId, count, handler.GetNameLink(playerTarget));
|
||||||
if (player != playerTarget)
|
if (player != playerTarget)
|
||||||
playerTarget.SendNewItem(item, (uint)count, true, false);
|
playerTarget.SendNewItem(item, (uint)count, true, false);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user