diff options
author | kvolk2git <78740198+kvolk2git@users.noreply.github.com> | 2021-12-18 14:24:55 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-18 12:24:55 +0100 |
commit | 8ac63c7952bf74066abbbe981b5168bc02ad3efb (patch) | |
tree | 8e5cda604b99722198b336f36ae8f3c18850d0fd /src | |
parent | 4abfa61b6756cfc0955ca62beaa9434d2d2a2d21 (diff) |
Update cs_misc.cpp (#27418)
Diffstat (limited to 'src')
-rw-r--r-- | src/server/scripts/Commands/cs_misc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Commands/cs_misc.cpp b/src/server/scripts/Commands/cs_misc.cpp index 650e60051d3..31d361c0488 100644 --- a/src/server/scripts/Commands/cs_misc.cpp +++ b/src/server/scripts/Commands/cs_misc.cpp @@ -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); } |