mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 19:37:03 +00:00
[8764] Simplify code for mail items send. Avoid packet unread spam at errors.
This commit is contained in:
parent
132aed0f0b
commit
d5dad82f3d
9 changed files with 86 additions and 126 deletions
|
|
@ -935,7 +935,7 @@ void BattleGround::SendRewardMarkByMail(Player *plr,uint32 mark, uint32 count)
|
|||
|
||||
// item
|
||||
MailItemsInfo mi;
|
||||
mi.AddItem(markItem->GetGUIDLow(), markItem->GetEntry(), markItem);
|
||||
mi.AddItem(markItem);
|
||||
|
||||
// subject: item name
|
||||
std::string subject = markProto->Name1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue