1
0
Fork 0

Protect from explosions

objects
kay27 2020-08-10 22:04:27 +04:00
parent c424b036b2
commit 9537eaead0
1 changed files with 1 additions and 1 deletions

View File

@ -195,7 +195,7 @@ local function trace_explode(pos, strength, raydirs, radius, drop_chance, fire,
break
end
if cid ~= minetest.CONTENT_AIR then
if cid ~= minetest.CONTENT_AIR and not minetest.is_protected({x = npos_x, y = npos_y, z = npos_z}, "") then
destroy[hash] = idx
end
end