View difference between Paste ID: 9Th91mhu and jmZHsbN9
SHOW: | | - or go back to the newest paste.
1
local inv = peripheral.wrap("right")
2
3
local space = false
4
while true do
5
  if turtle.getItemCount(1) == 0 then
6-
    turtle.suckDown()
6+
    turtle.suckUp()
7
  end
8-
  if not inv.dropUp(19, 1) then
8+
  if not inv.dropDown(19, 1) then
9
    sleep(2)
10
  end
11
end