From a4a5b72380397d47eb35049df590d02e769d99e1 Mon Sep 17 00:00:00 2001 From: cora Date: Wed, 12 Oct 2022 23:20:02 +0200 Subject: [PATCH] Fix mobs not following player wielding the follow item --- mods/ENTITIES/mcl_mobs/api.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mods/ENTITIES/mcl_mobs/api.lua b/mods/ENTITIES/mcl_mobs/api.lua index e138eba76..e85cfc160 100644 --- a/mods/ENTITIES/mcl_mobs/api.lua +++ b/mods/ENTITIES/mcl_mobs/api.lua @@ -3739,6 +3739,9 @@ local mob_step = function(self, dtime) return end + --Mob following code. + follow_flop(self) + -- smooth rotation by ThomasMonroe314 if self._turn_to then set_yaw(self, self._turn_to, .1) @@ -3968,9 +3971,6 @@ local mob_step = function(self, dtime) return end - --Mob following code. - follow_flop(self) - if is_at_cliff_or_danger(self) then set_velocity(self, 0) self.state = "stand"