replace deprecatedexplotion with tnt.boom

* use tnt.boom for explotion with specific definition
* added depends on tnt due the change!
main
mckaygerhard 2022-01-13 14:58:46 -05:00
parent 80d04890a1
commit 48c3d3f5bb
2 changed files with 2 additions and 1 deletions

View File

@ -1,2 +1,3 @@
nssm
default
tnt

View File

@ -886,7 +886,7 @@ minetest.register_abm({
function(pos, node)
for _,obj in ipairs(minetest.get_objects_inside_radius(pos, 5)) do
if obj:is_player() then
explosion(pos, 3, 0, 1)
tnt.boom(pos,{radious = 3,dmage_radious = 0})
end
end
end