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