diff options
-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" |