From 05d06a4c8f0128ac5edd21b8096bb75553c1f89e Mon Sep 17 00:00:00 2001 From: jordan4ibanez Date: Fri, 16 Apr 2021 18:36:23 -0400 Subject: [PATCH] Add comment to state_execution --- mods/ENTITIES/mcl_mobs/api/mob_functions/ai.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mods/ENTITIES/mcl_mobs/api/mob_functions/ai.lua b/mods/ENTITIES/mcl_mobs/api/mob_functions/ai.lua index 6eb0b99d9..e89aba317 100644 --- a/mods/ENTITIES/mcl_mobs/api/mob_functions/ai.lua +++ b/mods/ENTITIES/mcl_mobs/api/mob_functions/ai.lua @@ -126,8 +126,6 @@ local state_execution = function(self,dtime) --enable rotation locking mobs.movement_rotation_lock(self) - - --check for nodes to jump over local node_in_front_of = jump_check(self) @@ -142,6 +140,7 @@ local state_execution = function(self,dtime) elseif node_in_front_of == 2 or (self.fear_height ~= 0 and cliff_check(self,dtime)) then --turn 45 degrees if so quick_rotate_45(self,dtime) + --stop the mob so it doesn't fall off mobs.set_velocity(self,0) end