mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Update cs_misc.cpp (#27418)
This commit is contained in:
@@ -1261,6 +1261,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);
|
||||
}
|
||||
@@ -1394,7 +1395,6 @@ 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