mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-08 15:58:04 +00:00
fix(Core/Player): Haunted Memento aura remains after mailing the item (#22877)
This commit is contained in:
@@ -2905,6 +2905,7 @@ void Player::RemoveItem(uint8 bag, uint8 slot, bool update, bool swap)
|
|||||||
RemoveEnchantmentDurations(pItem);
|
RemoveEnchantmentDurations(pItem);
|
||||||
RemoveItemDurations(pItem);
|
RemoveItemDurations(pItem);
|
||||||
RemoveTradeableItem(pItem);
|
RemoveTradeableItem(pItem);
|
||||||
|
ApplyItemObtainSpells(pItem, false);
|
||||||
|
|
||||||
if (bag == INVENTORY_SLOT_BAG_0)
|
if (bag == INVENTORY_SLOT_BAG_0)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user