Update 'Turtle/Wheat.lua'

This commit is contained in:
manuel 2023-01-08 19:47:47 +00:00
parent cc3f3c0e21
commit 38f32f6e1c

View File

@ -127,13 +127,16 @@ function Wheat:createMatrix()
turtle.turnRight()
digForward()
turtle.turnRight()
self.dir = (self.dir + 2) % 4
else
turtle.turnLeft()
digForward()
turtle.turnLeft()
self.dir = (self.dir + 2) % 4
end
end
end
self.x, self.y, self.z = gps.locate()
end
function Wheat:clearInv(goBack)