don't check above pos on quarry dig

This commit is contained in:
Thomas Rudin 2019-04-12 15:43:03 +02:00
parent 0886117328
commit bf0f22fdb8

View File

@ -222,6 +222,7 @@ local function quarry_run(pos, node)
end end
end end
--[[
if can_dig then if can_dig then
-- test above blocks if diggable -- test above blocks if diggable
for ay = startpos.y, digpos.y+1, -1 do for ay = startpos.y, digpos.y+1, -1 do
@ -233,6 +234,8 @@ local function quarry_run(pos, node)
end end
end end
end end
--]]
nd = nd + 1 nd = nd + 1
if can_dig then if can_dig then
minetest.remove_node(digpos) minetest.remove_node(digpos)