Permalink
Browse files

Merge branch 'master' of https://github.com/mangoszero/server

  • Loading branch information...
billy1arm committed Jan 10, 2019
2 parents b5c8fd1 + 5bac361 commit 78469affa45d7f7ad6c8baeb51b65ab75d138c49
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/game/Object/Player.cpp
@@ -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();

0 comments on commit 78469af

Please sign in to comment.