Add setting: mcl_tnt_griefing

This commit is contained in:
Wuzzy 2020-02-05 03:11:32 +01:00
parent 2ef5f0232d
commit bed0849bb0
6 changed files with 25 additions and 4 deletions

View file

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