Update canemine
This commit is contained in:
parent
7b047df391
commit
d2c7126146
@ -81,8 +81,8 @@ function digDeep(moveAction, digAction, inspectAction, limit)
|
|||||||
-- * if limit != -1: limit > 0
|
-- * if limit != -1: limit > 0
|
||||||
-- * otherwise : bedrock beneath
|
-- * otherwise : bedrock beneath
|
||||||
if limit < 0 then
|
if limit < 0 then
|
||||||
local nextblock = inspectAction()
|
local status, nextblock = inspectAction()
|
||||||
if nextblock and nextblock["name"] == "minecraft:bedrock" then
|
if status and nextblock["name"] == "minecraft:bedrock" then
|
||||||
return depth
|
return depth
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user