From 0787d7a988d3ceec60ffa7e024ad6a3f37c66030 Mon Sep 17 00:00:00 2001 From: ancientmarinerdev Date: Mon, 8 May 2023 16:30:40 +0100 Subject: [PATCH] Remove duplicate code that has been moved. --- mods/ENTITIES/mcl_mobs/api.lua | 8 -------- 1 file changed, 8 deletions(-) diff --git a/mods/ENTITIES/mcl_mobs/api.lua b/mods/ENTITIES/mcl_mobs/api.lua index 231d23fdb..a5af89690 100644 --- a/mods/ENTITIES/mcl_mobs/api.lua +++ b/mods/ENTITIES/mcl_mobs/api.lua @@ -325,14 +325,6 @@ function mob_class:do_states(dtime) end end -local function update_timers (self, dtime) - -- knockback timer. set in on_punch - if self.pause_timer > 0 then - self.pause_timer = self.pause_timer - dtime - return true - end -end - function mob_class:outside_limits() local pos = self.object:get_pos() if pos then