Advertisement
Guest User

Untitled

a guest
May 24th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. while true do
  2. function CheckWheat()
  3. local success, data = turtle.inspect()
  4. local mature
  5. if success and data.metadata == 7 then
  6. mature = true
  7. elseif success and data.metadata ~= 7 then
  8. mature = fals
  9. else
  10. mature = nil
  11. return mature
  12. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement