From cbefe68049d218111219c42606a36f65c1fc241c Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Fri, 21 Oct 2016 15:20:29 +0100 Subject: [PATCH] re-add check for unbreakable nodes for fireballs --- api.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api.lua b/api.lua index d966526..413a460 100644 --- a/api.lua +++ b/api.lua @@ -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