diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2016-10-21 15:20:29 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2016-10-21 15:20:29 +0100 |
commit | cbefe68049d218111219c42606a36f65c1fc241c (patch) | |
tree | 14568fefe1bc87e87f7c9c65714ce6a922f75a58 /api.lua | |
parent | b8d3792aa646f4480fa2a2c2b300aeda3092ff32 (diff) |
re-add check for unbreakable nodes for fireballs
Diffstat (limited to 'api.lua')
-rw-r--r-- | api.lua | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2650,6 +2650,8 @@ function mobs:explosion(pos, radius, fire, smoke, sound) if on_blast then return on_blast(p) + elseif minetest.registered_nodes[n].groups.unbreakable == 1 then + -- do nothing else -- after effects if fire > 0 |