1
0
Fork 0

Fix typo and error in animation.lua

mineclone5
jordan4ibanez 2021-04-22 21:12:08 -04:00
parent 3fe8d2d3c5
commit ebf27866ca
1 changed files with 1 additions and 2 deletions

View File

@ -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