mirror of
https://codeberg.org/tenplus1/mobs_redo.git
synced 2025-01-25 16:40:23 +01:00
default explode radius when mob in water is 1 instead of 0
This commit is contained in:
parent
d05bf9b489
commit
044d8f8169
2
api.lua
2
api.lua
@ -1911,7 +1911,7 @@ local do_states = function(self, dtime)
|
|||||||
if minetest.find_node_near(pos, 1, {"group:water"})
|
if minetest.find_node_near(pos, 1, {"group:water"})
|
||||||
or minetest.is_protected(pos, "") then
|
or minetest.is_protected(pos, "") then
|
||||||
|
|
||||||
node_break_radius = 0
|
node_break_radius = 1
|
||||||
end
|
end
|
||||||
|
|
||||||
self.object:remove()
|
self.object:remove()
|
||||||
|
Loading…
Reference in New Issue
Block a user