re-add check for unbreakable nodes for fireballs

This commit is contained in:
TenPlus1 2016-10-21 15:20:29 +01:00
parent b8d3792aa6
commit cbefe68049

View File

@ -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