Fix explo mobs destroy land if mobs_griefing=false

This commit is contained in:
Wuzzy 2018-06-10 16:09:28 +02:00
parent 45add3cedd
commit a6bb31f2a6
2 changed files with 2 additions and 2 deletions

View file

@ -1959,7 +1959,7 @@ local do_states = function(self, dtime)
self.object:remove()
if mod_tnt and tnt and tnt.boom
if mobs_griefing and mod_tnt and tnt and tnt.boom
and not minetest.is_protected(pos, "") then
tnt.boom(pos, {