Add setting: mcl_tnt_griefing
This commit is contained in:
parent
2ef5f0232d
commit
bed0849bb0
6 changed files with 25 additions and 4 deletions
|
@ -308,7 +308,7 @@ function mcl_beds.on_rightclick(pos, player, is_top)
|
|||
-- Bed goes BOOM in the Nether or End.
|
||||
minetest.remove_node(pos)
|
||||
if minetest.get_modpath("mcl_tnt") then
|
||||
tnt.boom(pos, {radius = 4, damage_radius = 4})
|
||||
tnt.boom(pos, {radius = 4, damage_radius = 4, is_tnt = false})
|
||||
end
|
||||
return
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue