1
0
Fork 0
This commit is contained in:
kay27 2021-04-05 13:50:26 +04:00
parent e407ad2254
commit beb2484224
1 changed files with 1 additions and 1 deletions

View File

@ -4351,7 +4351,7 @@ end
-- make explosion with protection and tnt mod check
function mobs:boom(self, pos, strength, fire)
self.object:remove()
if mod_explosions then
if mobs_griefing and not minetest.is_protected(pos, "") then
mcl_explosions.explode(pos, strength, { drop_chance = 1.0, fire = fire }, self.object)