View difference between Paste ID: gYC59Bp0 and 6wX2WQEV
SHOW: | | - or go back to the newest paste.
1-
while(true)
1+
while true do
2
	if turtle.getItemSpace() == 0 then
3
		turtle.drop()
4
	end
5
	if turtle.detect() then
6
		turtle.dig()
7
	end
8
end