Skip to content

Commit 0caaf84

Browse files
committed
Ensure tooltips of items in the auction house show the right price for the ilvl
1 parent 5066f22 commit 0caaf84

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Source/Tooltips/Hooks.lua

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,12 @@ if GameTooltip.SetItemKey then
283283
if C_Item.GetItemInfoInstant(itemLink) ~= itemID then
284284
itemLink = select(2, C_Item.GetItemInfo(itemID))
285285
end
286-
Auctionator.Tooltip.ShowTipWithPricing(tip, itemLink, 1)
286+
Auctionator.Tooltip.ShowTipWithPricingDBKey(
287+
tip,
288+
Auctionator.Utilities.DBKeyFromBrowseResult({itemKey = {itemID = itemID, itemLevel = itemLevel, itemSuffix = itemSuffix, battlePetSpeciesID = 0}}),
289+
itemLink,
290+
1
291+
)
287292
end
288293
end
289294
end

0 commit comments

Comments
 (0)