fix(Core/Achievement): Don't count bought back items as a new item for ACHIEVEMENT_CRITERIA_TYPE_RECIEVE_EPIC_ITEM (#9798)
* cherry-pick commit (a58955d88c)
Co-Authored-By: Wyrserth <43747507+Wyrserth@users.noreply.github.com>
This commit is contained in:
parent
4a36897873
commit
a9cbd35cd2
1 changed files with 0 additions and 1 deletions
|
|
@ -898,7 +898,6 @@ void WorldSession::HandleBuybackItem(WorldPacket& recvData)
|
|||
_player->ModifyMoney(-(int32)price);
|
||||
_player->RemoveItemFromBuyBackSlot(slot, false);
|
||||
_player->ItemAddedQuestCheck(pItem->GetEntry(), pItem->GetCount());
|
||||
_player->UpdateAchievementCriteria(ACHIEVEMENT_CRITERIA_TYPE_RECEIVE_EPIC_ITEM, pItem->GetEntry(), pItem->GetCount());
|
||||
_player->StoreItem(dest, pItem, true);
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue