fix compatibility with vendor prices
This commit is contained in:
+2
-3
@@ -97,9 +97,7 @@ end
|
|||||||
|
|
||||||
local lastItemID, lastSourceStr
|
local lastItemID, lastSourceStr
|
||||||
local function ExtendTooltip(tooltip)
|
local function ExtendTooltip(tooltip)
|
||||||
if not AtlasLootCharDB.ShowSource then
|
if AtlasLootCharDB.ShowSource then
|
||||||
return
|
|
||||||
end
|
|
||||||
local itemID = tonumber(tooltip.itemID)
|
local itemID = tonumber(tooltip.itemID)
|
||||||
if itemID and itemID ~= 51217 then -- 51217 Fashion Coin
|
if itemID and itemID ~= 51217 then -- 51217 Fashion Coin
|
||||||
if itemID ~= lastItemID then
|
if itemID ~= lastItemID then
|
||||||
@@ -115,6 +113,7 @@ local function ExtendTooltip(tooltip)
|
|||||||
AddSourceLine(tooltip, lastSourceStr)
|
AddSourceLine(tooltip, lastSourceStr)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
if tooltipMoney > 0 then
|
if tooltipMoney > 0 then
|
||||||
original_SetTooltipMoney(tooltip, tooltipMoney)
|
original_SetTooltipMoney(tooltip, tooltipMoney)
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user