fix compatibility with vendor prices

This commit is contained in:
Spit
2025-05-14 14:45:40 +03:00
parent 450ac28070
commit 529bcf15d5
+2 -3
View File
@@ -97,9 +97,7 @@ end
local lastItemID, lastSourceStr
local function ExtendTooltip(tooltip)
if not AtlasLootCharDB.ShowSource then
return
end
if AtlasLootCharDB.ShowSource then
local itemID = tonumber(tooltip.itemID)
if itemID and itemID ~= 51217 then -- 51217 Fashion Coin
if itemID ~= lastItemID then
@@ -115,6 +113,7 @@ local function ExtendTooltip(tooltip)
AddSourceLine(tooltip, lastSourceStr)
end
end
end
if tooltipMoney > 0 then
original_SetTooltipMoney(tooltip, tooltipMoney)
end