1 parent
eebe6fbdff
commit
088d678a9f
2 files changed
+5
-1
No files matched your search
@@ -354,6 +354,7 @@ void WorldSession::HandleSendMail(WorldPacket& recvData)
|
||||
|
||||
item->DeleteFromInventoryDB(trans); // deletes item from character's inventory
|
||||
item->SetOwnerGUID(receiverGuid);
|
||||
item->SetState(ITEM_CHANGED);
|
||||
item->SaveToDB(trans); // recursive and not have transaction guard into self, item not in inventory and can be save standalone
|
||||
|
||||
draft.AddItem(item);
|
||||
@@ -752,7 +753,7 @@ void WorldSession::HandleGetMailList(WorldPacket& recvData)
|
||||
// durability
|
||||
data << uint32((item ? item->GetUInt32Value(ITEM_FIELD_DURABILITY) : 0));
|
||||
// unknown wotlk
|
||||
data << uint8(0);
|
||||
data << uint8((item && !item->IsLocked() ? 1 : 0));
|
||||
}
|
||||
|
||||
++realCount;
|
||||
|
||||
Reference in new issue
Block a user