From 15ea9c1c71f3e4d4dd24ce145d385f8457e4905e Mon Sep 17 00:00:00 2001 From: jordan4ibanez Date: Fri, 16 Apr 2021 19:59:20 -0400 Subject: [PATCH] Implement self walking velocity for walking state --- mods/ENTITIES/mcl_mobs/api/mob_functions/ai.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ENTITIES/mcl_mobs/api/mob_functions/ai.lua b/mods/ENTITIES/mcl_mobs/api/mob_functions/ai.lua index 93e11e35be..982641e738 100644 --- a/mods/ENTITIES/mcl_mobs/api/mob_functions/ai.lua +++ b/mods/ENTITIES/mcl_mobs/api/mob_functions/ai.lua @@ -146,7 +146,7 @@ local state_execution = function(self,dtime) --only move forward if path is clear if node_in_front_of == 0 or node_in_front_of == 1 then --set the velocity of the mob - mobs.set_velocity(self,1) + mobs.set_velocity(self,self.walk_velocity) end --print("walk")