Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local functionBreak = true
- while functionBreak do
- local data = turtle.getItemDetail()
- if data == nil then
- local currentSlot = turtle.getSelectedSlot()
- if currentSlot < 2 then
- turtle.select(currentSlot + 1)
- else
- turtle.select(1)
- end
- else
- turtle.place()
- functionBreak = false
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement