Skip to content

Commit 5f60ab1

Browse files
committed
[Libs] LiteStats: Minor adjustment
1 parent 7d870a4 commit 5f60ab1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ShestakUI/Libs/LiteStats/LiteStats.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1076,7 +1076,7 @@ if durability.enabled then
10761076
for id = 1, 18 do
10771077
if T.Classic then
10781078
local cost = select(3, LPDURA:SetInventoryItem(P, id))
1079-
if cost ~= 0 and cost <= GetMoney() then
1079+
if cost and cost ~= 0 and cost <= GetMoney() then
10801080
if not InRepairMode() then ShowRepairCursor() end
10811081
PickupInventoryItem(id)
10821082
total = total + cost

0 commit comments

Comments
 (0)