From ebf27866ca3bb02c726d4729c0666ee28e20a3dd Mon Sep 17 00:00:00 2001 From: jordan4ibanez Date: Thu, 22 Apr 2021 21:12:08 -0400 Subject: [PATCH] Fix typo and error in animation.lua --- mods/ENTITIES/mcl_mobs/api/mob_functions/animation.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mods/ENTITIES/mcl_mobs/api/mob_functions/animation.lua b/mods/ENTITIES/mcl_mobs/api/mob_functions/animation.lua index b7b8fa574..00a33e957 100644 --- a/mods/ENTITIES/mcl_mobs/api/mob_functions/animation.lua +++ b/mods/ENTITIES/mcl_mobs/api/mob_functions/animation.lua @@ -175,10 +175,9 @@ mobs.set_static_pitch = function(self) local current_rotation = self.object:get_rotation() current_rotation.x = 0 - current_rotation.z = 0 self.object:set_rotation(current_rotation) - self.pitch_switchfdas = "static" + self.pitch_switch = "static" end --this is a helper function for mobs explosion animation