summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cactus.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/cactus.lua b/cactus.lua
index 6da8880..09abc0e 100644
--- a/cactus.lua
+++ b/cactus.lua
@@ -5,13 +5,12 @@ local function ensure_equipped(item)
local det = turtle.getItemDetail(i)
if det and det.name == item then
turtle.select(i)
- turtle.equipLeft()
- return true
+ return turtle.equipLeft()
end
end
return false, "couldn't find "..item
end
-ensure_equipped "plethora:module_scanner"
+ensure_equipped "minecraft:dirt"