mirror of
https://github.com/minetest-mods/technic.git
synced 2025-02-23 15:20:19 +01:00
don't check above pos on quarry dig
This commit is contained in:
parent
0886117328
commit
bf0f22fdb8
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user