forked from mtcontrib/mobs_redo
re-add check for unbreakable nodes for fireballs
This commit is contained in:
parent
b8d3792aa6
commit
cbefe68049
2
api.lua
2
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user