fix crash when igniting a creeper
This commit is contained in:
parent
f1f1e29d71
commit
14dbf91ada
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ mobs:register_mob("mobs_mc:creeper", {
|
|||
if self._forced_explosion_countdown_timer ~= nil then
|
||||
self._forced_explosion_countdown_timer = self._forced_explosion_countdown_timer - dtime
|
||||
if self._forced_explosion_countdown_timer <= 0 then
|
||||
mobs:boom(self, self.object:get_pos(), self.explosion_radius)
|
||||
mobs:boom(self, self.object:get_pos(), self.explosion_strength)
|
||||
self.object:remove()
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue