From c500dc98f9dbf78f75f22f1e38223801099c1cc6 Mon Sep 17 00:00:00 2001 From: epCode <64379263+epCode@users.noreply.github.com> Date: Sun, 9 Oct 2022 17:23:14 -0700 Subject: [PATCH] fix only hostile mobs using smooth turning --- mods/ENTITIES/mcl_mobs/api.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ENTITIES/mcl_mobs/api.lua b/mods/ENTITIES/mcl_mobs/api.lua index f4c2f497a..482519105 100644 --- a/mods/ENTITIES/mcl_mobs/api.lua +++ b/mods/ENTITIES/mcl_mobs/api.lua @@ -3722,7 +3722,7 @@ local mob_step = function(self, dtime) end -- smooth rotation by ThomasMonroe314 - if self._turn_to and (not self.type == "monster" and self.state == "attack") then + if self._turn_to then set_yaw(self, self._turn_to, .1) end