Another small change in my puke function. It should work now
This commit is contained in:
parent
f988e1fd10
commit
7d6f7a4085
@ -202,8 +202,10 @@ end
|
||||
function puke()
|
||||
for i = 1, 16 do
|
||||
turtle.select(i)
|
||||
item = turtle.getItemDetail(slot)
|
||||
print("Puking out: " .. item['name'])
|
||||
item = turtle.getItemDetail()
|
||||
if item ~= nil then
|
||||
print("Puking out: " .. item['name'])
|
||||
end
|
||||
turtle.drop()
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user