Used wrong Call on puke function

This commit is contained in:
sascham 2020-12-20 16:37:00 +00:00
parent 4b2201e544
commit f988e1fd10

View File

@ -202,8 +202,8 @@ end
function puke() function puke()
for i = 1, 16 do for i = 1, 16 do
turtle.select(i) turtle.select(i)
result, block = turtle.inspect() item = turtle.getItemDetail(slot)
print("Puking out: " .. block['name']) print("Puking out: " .. item['name'])
turtle.drop() turtle.drop()
end end
end end