You can combine this if with the above using " and ", the redundant parentheses should also be removed:
```lua
if useWorms and not player:removeItem(ITEM_WORM, 1) then
```