mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 19:37:03 +00:00
[8344] In case battleground reward items player must "receive" instead "create" item in message.
This commit is contained in:
parent
93ed08e886
commit
7caf5b5b2f
4 changed files with 28 additions and 26 deletions
|
|
@ -855,7 +855,7 @@ void BattleGround::RewardItem(Player *plr, uint32 item_id, uint32 count)
|
|||
|
||||
if( count != 0 && !dest.empty()) // can add some
|
||||
if (Item* item = plr->StoreNewItem( dest, item_id, true, 0))
|
||||
plr->SendNewItem(item,count,false,true);
|
||||
plr->SendNewItem(item,count,true,false);
|
||||
|
||||
if (no_space_count > 0)
|
||||
SendRewardMarkByMail(plr,item_id,no_space_count);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue