From 14dbf91ada14219477ae25fca875f824a6dd4c73 Mon Sep 17 00:00:00 2001 From: Alexander Minges Date: Sat, 9 May 2020 21:56:02 +0200 Subject: [PATCH] fix crash when igniting a creeper --- mods/ENTITIES/mobs_mc/creeper.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ENTITIES/mobs_mc/creeper.lua b/mods/ENTITIES/mobs_mc/creeper.lua index d3826973..e5ff688c 100644 --- a/mods/ENTITIES/mobs_mc/creeper.lua +++ b/mods/ENTITIES/mobs_mc/creeper.lua @@ -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