Update canemine
This commit is contained in:
parent
c7110f161c
commit
7b047df391
@ -58,8 +58,8 @@ end
|
||||
|
||||
-- If the block in front of the turtle is desired, take it.
|
||||
function grabOres()
|
||||
local target = turtle.inspect()
|
||||
if target and target["name"]:lower():find("ore") then
|
||||
local status, block = turtle.inspect()
|
||||
if status and block["name"]:lower():find("ore") then
|
||||
turtle.dig()
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user