From f988e1fd107369609b215a22bfb0c2fe55550baf Mon Sep 17 00:00:00 2001 From: sascham Date: Sun, 20 Dec 2020 16:37:00 +0000 Subject: [PATCH] Used wrong Call on puke function --- Modules/modules.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/modules.lua b/Modules/modules.lua index 03e006e..26ad5ab 100644 --- a/Modules/modules.lua +++ b/Modules/modules.lua @@ -202,8 +202,8 @@ end function puke() for i = 1, 16 do turtle.select(i) - result, block = turtle.inspect() - print("Puking out: " .. block['name']) + item = turtle.getItemDetail(slot) + print("Puking out: " .. item['name']) turtle.drop() end end