Update canemine

This commit is contained in:
Dominic Zimmer 2020-07-04 14:07:26 +02:00
parent 7b047df391
commit d2c7126146

View File

@ -81,8 +81,8 @@ function digDeep(moveAction, digAction, inspectAction, limit)
-- * if limit != -1: limit > 0
-- * otherwise : bedrock beneath
if limit < 0 then
local nextblock = inspectAction()
if nextblock and nextblock["name"] == "minecraft:bedrock" then
local status, nextblock = inspectAction()
if status and nextblock["name"] == "minecraft:bedrock" then
return depth
end
else