summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2018-04-08 12:27:33 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2018-04-08 12:27:33 +0100
commit044d8f8169fd2e8bdd5c006a8fdb36ce21efd536 (patch)
tree0b7490c4a032233918e21220c7a75c6f98e4f7f7
parentd05bf9b489bbb2812871e5520923edf3aa6499b6 (diff)
default explode radius when mob in water is 1 instead of 0
-rw-r--r--api.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/api.lua b/api.lua
index f8a632e..fab11e3 100644
--- a/api.lua
+++ b/api.lua
@@ -1911,7 +1911,7 @@ local do_states = function(self, dtime)
if minetest.find_node_near(pos, 1, {"group:water"})
or minetest.is_protected(pos, "") then
- node_break_radius = 0
+ node_break_radius = 1
end
self.object:remove()