Core/Quests: Fixed gameobject sparkle state for lootable quest items by moving ItemAddedQuestCheck/ItemRemovedQuestCheck after item is added/removed
Port From (https://github.com/TrinityCore/TrinityCore/commit/b1a1e552d2acb394ad0d0a2544aeef6ad93ca4fb)
This commit is contained in:
@@ -481,8 +481,8 @@ namespace Game
|
||||
}
|
||||
else
|
||||
{
|
||||
pl.ItemRemovedQuestCheck(pItem.GetEntry(), pItem.GetCount());
|
||||
pl.RemoveItem(pItem.GetBagSlot(), pItem.GetSlot(), true);
|
||||
pl.ItemRemovedQuestCheck(pItem.GetEntry(), pItem.GetCount());
|
||||
Item.RemoveItemFromUpdateQueueOf(pItem, pl);
|
||||
pl.AddItemToBuyBackSlot(pItem);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user