diff --git a/src/game/Object/Player.cpp b/src/game/Object/Player.cpp index 569ec99f0..997c79983 100644 --- a/src/game/Object/Player.cpp +++ b/src/game/Object/Player.cpp @@ -16489,11 +16489,11 @@ void Player::_LoadInventory(QueryResult* result, uint32 timediff) // send by mail problematic items while (!problematicItems.empty()) { - std::string subject = "Item could not be loaded to inventory."; - std::string content = GetSession()->GetMangosString(LANG_NOT_EQUIPPED_ITEM); + std::string subject = GetSession()->GetMangosString(LANG_NOT_EQUIPPED_ITEM); + // fill mail - MailDraft draft(subject); - draft.SetSubjectAndBody(subject,content); + MailDraft draft(subject, "There's were problems with equipping item(s)."); + for (int i = 0; !problematicItems.empty() && i < MAX_MAIL_ITEMS; ++i) { Item* item = problematicItems.front();