mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[11255] Fixed receive BoA item from deleted character by mail.
This commit is contained in:
parent
7196d81679
commit
a7405fd673
2 changed files with 2 additions and 2 deletions
|
|
@ -16310,7 +16310,7 @@ void Player::_LoadMailedItems(QueryResult *result)
|
|||
|
||||
Item *item = NewItemOrBag(proto);
|
||||
|
||||
if(!item->LoadFromDB(item_guid_low, fields))
|
||||
if (!item->LoadFromDB(item_guid_low, fields, GetObjectGuid()))
|
||||
{
|
||||
sLog.outError( "Player::_LoadMailedItems - Item in mail (%u) doesn't exist !!!! - item guid: %u, deleted from mail", mail->messageID, item_guid_low);
|
||||
CharacterDatabase.PExecute("DELETE FROM mail_items WHERE item_guid = '%u'", item_guid_low);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue