Update quarry.lua

walking_light adds enhanced torches by adding virtual light sources.
let's tread them like air.
This commit is contained in:
yodabear1 2020-09-18 02:00:37 +02:00 committed by GitHub
parent c06a56daff
commit 01469174b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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