diff --git a/mods/mobs/api.lua b/mods/mobs/api.lua index b3ad1d00..ff720cbc 100644 --- a/mods/mobs/api.lua +++ b/mods/mobs/api.lua @@ -660,13 +660,6 @@ lifetimer = def.lifetimer or 600, entity_physics(pos, 3) -- hurt player/mobs caught in blast area if minetest.find_node_near(pos, 1, {"group:water"}) or minetest.is_protected(pos, "") then - self.object:remove() - if self.sounds.explode ~= "" then - minetest.sound_play(self.sounds.explode, {pos = pos, gain = 1.0, max_hear_distance = 16}) - end - effect(pos, 10, "tnt_smoke.png") - return - end self.object:remove() if self.sounds.explode ~= "" then minetest.sound_play(self.sounds.explode, {pos = pos, gain = 1.0, max_hear_distance = 16}) @@ -1104,7 +1097,6 @@ function mobs:explosion(pos, radius, fire, smoke, sound) vi = vi + 1 end end - end end -- on mob death drop items