mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
[11524] Avoid adding auction item to player inventory update queue.
Also not set ITEM_FIELD_CONTAINED before real adding item to inventory. No known porblem with last but code cleanup.
This commit is contained in:
parent
4ba5aa83e3
commit
d5675ba3bd
3 changed files with 3 additions and 2 deletions
|
|
@ -365,6 +365,7 @@ void WorldSession::HandleAuctionSellItem(WorldPacket & recv_data)
|
|||
continue;
|
||||
|
||||
Item *newItem = it->CloneItem(stackSize, pl);
|
||||
newItem->RemoveFromUpdateQueueOf(pl); // item not planned to adding to inventory
|
||||
|
||||
pl->DestroyItemCount(it, stackSize, true);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue