summaryrefslogtreecommitdiff
path: root/cactus.lua
diff options
context:
space:
mode:
Diffstat (limited to 'cactus.lua')
-rw-r--r--cactus.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/cactus.lua b/cactus.lua
index 5d14f48..ca6ec96 100644
--- a/cactus.lua
+++ b/cactus.lua
@@ -1,5 +1,6 @@
local function ensure_equipped(item)
local cur = peripheral.getType"left"
+ print(cur)
if cur == item then return true end
for i = 1,16 do
local det = turtle.getItemDetail(i)