From adc683c6a7cd56c33bebc22ce1363671db4f4846 Mon Sep 17 00:00:00 2001 From: jordan4ibanez Date: Fri, 16 Apr 2021 14:19:22 -0400 Subject: [PATCH] Clear mob animation on activate --- mods/ENTITIES/mcl_mobs/api/mob_functions/set_up.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mods/ENTITIES/mcl_mobs/api/mob_functions/set_up.lua b/mods/ENTITIES/mcl_mobs/api/mob_functions/set_up.lua index adbb710772..1d48d52f70 100644 --- a/mods/ENTITIES/mcl_mobs/api/mob_functions/set_up.lua +++ b/mods/ENTITIES/mcl_mobs/api/mob_functions/set_up.lua @@ -74,6 +74,9 @@ mobs.mob_activate = function(self, staticdata, def, dtime) self.wandering = true end + --clear animation + self.current_animation = nil + -- select random texture, set model and size if not self.base_texture then