From d4910464090c743bdcae919540fef703089c9b0d Mon Sep 17 00:00:00 2001 From: epCode Date: Tue, 30 May 2023 14:22:48 -0700 Subject: [PATCH] Attempt to fix sliding by disabling self-asassinating feature --- mods/ENTITIES/mcl_mobs/physics.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mods/ENTITIES/mcl_mobs/physics.lua b/mods/ENTITIES/mcl_mobs/physics.lua index 1fbe1e24d..7e8bc7ac0 100644 --- a/mods/ENTITIES/mcl_mobs/physics.lua +++ b/mods/ENTITIES/mcl_mobs/physics.lua @@ -355,9 +355,10 @@ function mob_class:set_yaw(yaw, delay, dtime) if math.abs(target_shortest_path_nums) > 5 then self.object:set_yaw(self.object:get_yaw()+(target_shortest_path*(3.6*ddtime))) + --[[ if self.acc then self.acc=vector.rotate_around_axis(self.acc,vector.new(0,1,0), target_shortest_path*(3.6*ddtime)) - end + end]] end delay = delay or 0