fix compatibility with vendor prices
This commit is contained in:
+2
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user