Update quarry.lua
walking_light adds enhanced torches by adding virtual light sources. let's tread them like air.
This commit is contained in:
parent
c06a56daff
commit
01469174b5
|
@ -169,7 +169,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 ~= "walking_light:light" then
|
||||
can_dig = false
|
||||
break
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue