We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0648252 commit 7cac67fCopy full SHA for 7cac67f
mods/tnt/init.lua
@@ -408,7 +408,7 @@ function tnt.boom(pos, def)
408
def.damage_radius = def.damage_radius or def.radius * 2
409
local meta = minetest.get_meta(pos)
410
local owner = meta:get_string("owner")
411
- if not def.explode_center then
+ if not def.explode_center and def.ignore_protection ~= true then
412
minetest.set_node(pos, {name = "tnt:boom"})
413
end
414
local sound = def.sound or "tnt_explode"
0 commit comments