From 8a9745ae0ee7dcadb08efcbd5842e4c5e41f68e3 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Wed, 3 Apr 2024 23:18:48 +0100 Subject: launch cactus --- cactus.lua | 5 ++--- 1 file 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" -- cgit v1.2.3