fix(turtle-utils): getMatureCrop implementation
This commit is contained in:
parent
1438db9973
commit
e20c7fd073
@ -128,7 +128,6 @@ end
|
||||
turtleUtils.getMatureCrop = function(inspectFn)
|
||||
inspectFn = inspectFn or turtle.inspect
|
||||
|
||||
return function()
|
||||
local isBlock, block = inspectFn()
|
||||
local blockStateAge = block and block.state and block.state.age
|
||||
|
||||
@ -137,7 +136,6 @@ turtleUtils.getMatureCrop = function(inspectFn)
|
||||
end
|
||||
|
||||
return nil
|
||||
end
|
||||
end
|
||||
|
||||
turtleUtils.selectFirstEmptySlot = function()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user