Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/mangoszero/server
Browse files Browse the repository at this point in the history
  • Loading branch information
billy1arm committed Jan 10, 2019
2 parents b5c8fd1 + 5bac361 commit 78469af
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/game/Object/Player.cpp
Expand Up @@ -14833,11 +14833,11 @@ void Player::_LoadInventory(QueryResult* result, uint32 timediff)
// send by mail problematic items
while (!problematicItems.empty())
{
std::string subject = GetSession()->GetMangosString(LANG_NOT_EQUIPPED_ITEM);

std::string subject = "Item could not be loaded to inventory.";
std::string content = GetSession()->GetMangosString(LANG_NOT_EQUIPPED_ITEM);
// fill mail
MailDraft draft(subject);

draft.SetSubjectAndBody(subject,content);
for (int i = 0; !problematicItems.empty() && i < MAX_MAIL_ITEMS; ++i)
{
Item* item = problematicItems.front();
Expand Down

0 comments on commit 78469af

Please sign in to comment.