Add setting: mcl_tnt_griefing

This commit is contained in:
Wuzzy 2020-02-05 03:11:32 +01:00
parent 2ef5f0232d
commit bed0849bb0
6 changed files with 25 additions and 4 deletions

View file

@ -2179,6 +2179,7 @@ local do_states = function(self, dtime)
radius = node_break_radius,
damage_radius = entity_damage_radius,
sound = self.sounds.explode,
is_tnt = false,
})
else
@ -3740,6 +3741,7 @@ function mobs:boom(self, pos, radius)
damage_radius = radius,
sound = self.sounds and self.sounds.explode,
explode_center = true,
is_tnt = false,
})
else
mobs:safe_boom(self, pos, radius)