Add setting: mcl_tnt_griefing
This commit is contained in:
parent
2ef5f0232d
commit
bed0849bb0
6 changed files with 25 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue