Update 'Turtle/Wheat.lua'

This commit is contained in:
manuel 2023-01-08 17:39:01 +00:00
parent adea90aab4
commit 88e0fa46a8

View File

@ -113,7 +113,9 @@ function Wheat:createMatrix()
local line = {} local line = {}
for j = 1, self.length do for j = 1, self.length do
line[j] = self:getStatusDown() line[j] = self:getStatusDown()
digForward() if(j < self.length) then
digForward()
end
end end
if(i % 2 == 0) then if(i % 2 == 0) then
self.cropMatrix[i] = self:reverseArray(line) self.cropMatrix[i] = self:reverseArray(line)