sellvalue: ignore negative item count

This commit is contained in:
shagu
2025-06-14 18:25:03 +02:00
parent 4283ad1a8e
commit b56eeaba49
+1 -1
View File
@@ -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)