forked from MineClone5/MineClone5
Fix typo and error in animation.lua
This commit is contained in:
parent
3fe8d2d3c5
commit
ebf27866ca
|
@ -175,10 +175,9 @@ mobs.set_static_pitch = function(self)
|
||||||
local current_rotation = self.object:get_rotation()
|
local current_rotation = self.object:get_rotation()
|
||||||
|
|
||||||
current_rotation.x = 0
|
current_rotation.x = 0
|
||||||
current_rotation.z = 0
|
|
||||||
|
|
||||||
self.object:set_rotation(current_rotation)
|
self.object:set_rotation(current_rotation)
|
||||||
self.pitch_switchfdas = "static"
|
self.pitch_switch = "static"
|
||||||
end
|
end
|
||||||
|
|
||||||
--this is a helper function for mobs explosion animation
|
--this is a helper function for mobs explosion animation
|
||||||
|
|
Loading…
Reference in New Issue