diff --git a/mods/ENTITIES/mcl_mobs/api/mob_functions/animation.lua b/mods/ENTITIES/mcl_mobs/api/mob_functions/animation.lua index b7b8fa5748..00a33e9573 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