View difference between Paste ID: ndi4fRbD and kH2skKQg
SHOW: | | - or go back to the newest paste.
1
i = 1
2-
var i = 1
2+
3
while not turtle.detectUp() do
4
	if turtle.getItemCount(i) <= 0 then
5-
	if getItemCount(i) <= 0 then
5+
6
		i = i + 1
7
	end
8
	turtle.up()
9
	turtle.placeDown()
10
end