mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-29 22:33:46 +01:00
Fix crash when creeper explodes
parent
b8bd154378
commit
26b5b45595
@ -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…
Reference in New Issue
Block a user