mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-27 01:46:03 +00:00
libtooltip: improve auction item link handling
based on: https://github.com/shagu/ShaguTweaks/commit/2eace5ffd6ecda09d376969885aabcf247611b8e
This commit is contained in:
@@ -32,7 +32,7 @@ pfUI:RegisterModule("sellvalue", "vanilla:tbc", function ()
|
||||
pfUI.sellvalue:SetScript("OnShow", function()
|
||||
if libtooltip:GetItemLink() then
|
||||
local id = libtooltip:GetItemID()
|
||||
local count = libtooltip:GetItemCount() or 1
|
||||
local count = tonumber(libtooltip:GetItemCount()) or 1
|
||||
AddVendorPrices(GameTooltip, id, math.max(count, 1))
|
||||
end
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user