allow quarry to operate in vacuum

This commit is contained in:
Thomas Rudin 2018-11-09 11:02:22 +01:00
parent e931041358
commit 012b961d8f

View File

@ -164,7 +164,7 @@ local function quarry_run(pos, node)
for ay = startpos.y, digpos.y+1, -1 do
local checkpos = {x=digpos.x, y=ay, z=digpos.z}
local checknode = technic.get_or_load_node(checkpos) or minetest.get_node(checkpos)
if checknode.name ~= "air" then
if checknode.name ~= "air" and checknode.name ~= "vacuum:vacuum" then
can_dig = false
break
end