View difference between Paste ID: JzN0LNv0 and 7Di0wEwL
SHOW: | | - or go back to the newest paste.
1
function drop()
2
      turtle.select(1)
3
      for 1, 16 do
4
         turtle.select(i)
5
         turtle.dropDown()
6
end
7
end
8
9
while true do
10-
    if turtle.getItemCount(16)>1 then
10+
11
    if turtle.getItemCount(16)>=1 then
12
       drop()
13
    end
14
    sleep(1)
15
end
16
end