From 9537eaead0456ee951be6843e89470c4d5b97511 Mon Sep 17 00:00:00 2001 From: kay27 Date: Mon, 10 Aug 2020 22:04:27 +0400 Subject: [PATCH] Protect from explosions --- mods/CORE/mcl_explosions/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/CORE/mcl_explosions/init.lua b/mods/CORE/mcl_explosions/init.lua index 242f0518..84f3322d 100644 --- a/mods/CORE/mcl_explosions/init.lua +++ b/mods/CORE/mcl_explosions/init.lua @@ -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