Skip to content

Commit

Permalink
fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
elsongabriel committed Nov 11, 2023
1 parent dd39e4d commit febdc3f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ function dangerousDepthPesticide.onUse(player, item, fromPosition, target, toPos
return true
end

if (target == nil) or not target:isItem() then
if not (target or target:isItem()) then
return false
end

Expand Down

0 comments on commit febdc3f

Please sign in to comment.