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()
|
function puke()
|
||||||
for i = 1, 16 do
|
for i = 1, 16 do
|
||||||
turtle.select(i)
|
turtle.select(i)
|
||||||
item = turtle.getItemDetail(slot)
|
item = turtle.getItemDetail()
|
||||||
print("Puking out: " .. item['name'])
|
if item ~= nil then
|
||||||
|
print("Puking out: " .. item['name'])
|
||||||
|
end
|
||||||
turtle.drop()
|
turtle.drop()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user