Advertisement
Kiliandeca

DecaMiner2: Place - main

Jan 19th, 2017
522
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.22 KB | None | 0 0
  1. while true do
  2.     if not turtle.detect() then
  3.         if turtle.getItemCount() >= 1 or turtle.suckUp() then
  4.             turtle.place()
  5.             peripheral.wrap("front").turnOn()
  6.         end
  7.     end
  8.     sleep(1)
  9. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement