diff --git a/Turtle/Wheat.lua b/Turtle/Wheat.lua index 3bf9960..94935f5 100644 --- a/Turtle/Wheat.lua +++ b/Turtle/Wheat.lua @@ -7,7 +7,19 @@ function Wheat:getStatusDown() if(data.state.age == nil) then return -1 end + return data.state.age end + if(turtle.digDown() == true) then + return -2 + end + if(self:selectPlantable(true)) then + if(turtle.placeDown() == true) then + turtle.digDown() + return -2 + end + return -1 + end + return false end function Wheat:isPlantable(slot, update)