mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-22 15:46:56 +00:00
sellvalue: ignore negative item count
This commit is contained in:
@@ -33,7 +33,7 @@ pfUI:RegisterModule("sellvalue", "vanilla:tbc", function ()
|
||||
if libtooltip:GetItemLink() then
|
||||
local id = libtooltip:GetItemID()
|
||||
local count = libtooltip:GetItemCount() or 1
|
||||
AddVendorPrices(GameTooltip, id, count)
|
||||
AddVendorPrices(GameTooltip, id, math.max(count, 1))
|
||||
end
|
||||
end)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user