diff --git a/modules/sellvalue.lua b/modules/sellvalue.lua index d5ee67f9..98445ffa 100644 --- a/modules/sellvalue.lua +++ b/modules/sellvalue.lua @@ -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)