mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16: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);
|
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);
|
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);
|
CharacterDatabase.PExecute("DELETE FROM mail_items WHERE item_guid = '%u'", item_guid_low);
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "11254"
|
#define REVISION_NR "11255"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue