Skip to content

Commit

Permalink
[Libs] LiteStats: Minor adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
EsreverWoW committed May 31, 2024
1 parent 7d870a4 commit 5f60ab1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ShestakUI/Libs/LiteStats/LiteStats.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1076,7 +1076,7 @@ if durability.enabled then
for id = 1, 18 do
if T.Classic then
local cost = select(3, LPDURA:SetInventoryItem(P, id))
if cost ~= 0 and cost <= GetMoney() then
if cost and cost ~= 0 and cost <= GetMoney() then
if not InRepairMode() then ShowRepairCursor() end
PickupInventoryItem(id)
total = total + cost
Expand Down

0 comments on commit 5f60ab1

Please sign in to comment.