replace deprecatedexplotion with tnt.boom
* use tnt.boom for explotion with specific definition * added depends on tnt due the change!
This commit is contained in:
parent
80d04890a1
commit
48c3d3f5bb
@ -1,2 +1,3 @@
|
|||||||
nssm
|
nssm
|
||||||
default
|
default
|
||||||
|
tnt
|
||||||
|
@ -886,7 +886,7 @@ minetest.register_abm({
|
|||||||
function(pos, node)
|
function(pos, node)
|
||||||
for _,obj in ipairs(minetest.get_objects_inside_radius(pos, 5)) do
|
for _,obj in ipairs(minetest.get_objects_inside_radius(pos, 5)) do
|
||||||
if obj:is_player() then
|
if obj:is_player() then
|
||||||
explosion(pos, 3, 0, 1)
|
tnt.boom(pos,{radious = 3,dmage_radious = 0})
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user