mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 01:37:37 +01:00
Core/Players: fixed a crash when loading mail items from DB
This commit is contained in:
@@ -18559,7 +18559,7 @@ void Player::_LoadMail(PreparedQueryResult mailsResult, PreparedQueryResult mail
|
||||
do
|
||||
{
|
||||
Field* fields = mailItemsResult->Fetch();
|
||||
uint64 mailId = fields[50].GetUInt64();
|
||||
uint64 mailId = fields[47].GetUInt64();
|
||||
_LoadMailedItem(GetGUID(), this, mailId, mailById[mailId], fields);
|
||||
} while (mailItemsResult->NextRow());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user