mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +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
|
|
@ -1713,7 +1713,7 @@ void AchievementMgr::CompletedAchievement(AchievementEntry const* achievement)
|
|||
item->SaveToDB(); // save for prevent lost at next mail load, if send fail then item will deleted
|
||||
|
||||
// item
|
||||
mi.AddItem(item->GetGUIDLow(), item->GetEntry(), item);
|
||||
mi.AddItem(item);
|
||||
}
|
||||
|
||||
int loc_idx = GetPlayer()->GetSession()->GetSessionDbLocaleIndex();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue