diff options
author | ubq323 <ubq323@ubq323.website> | 2024-04-03 23:18:48 +0100 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2024-04-03 23:18:48 +0100 |
commit | 8a9745ae0ee7dcadb08efcbd5842e4c5e41f68e3 (patch) | |
tree | 1360b320315f088f7b945e0ca77e4b57f464339f | |
parent | e45d5679ff683c0314ee20a96b9885d936fd9ba8 (diff) |
launch cactus
-rw-r--r-- | cactus.lua | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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" |