We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d870a4 commit 5f60ab1Copy full SHA for 5f60ab1
ShestakUI/Libs/LiteStats/LiteStats.lua
@@ -1076,7 +1076,7 @@ if durability.enabled then
1076
for id = 1, 18 do
1077
if T.Classic then
1078
local cost = select(3, LPDURA:SetInventoryItem(P, id))
1079
- if cost ~= 0 and cost <= GetMoney() then
+ if cost and cost ~= 0 and cost <= GetMoney() then
1080
if not InRepairMode() then ShowRepairCursor() end
1081
PickupInventoryItem(id)
1082
total = total + cost
0 commit comments