summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2024-04-03 23:18:48 +0100
committerubq323 <ubq323@ubq323.website>2024-04-03 23:18:48 +0100
commit8a9745ae0ee7dcadb08efcbd5842e4c5e41f68e3 (patch)
tree1360b320315f088f7b945e0ca77e4b57f464339f
parente45d5679ff683c0314ee20a96b9885d936fd9ba8 (diff)
launch cactus
-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"