Fix #530 (Players were stuck in sitting animation after being out of minecart).

This commit is contained in:
Rootyjr 2019-07-29 00:13:16 -05:00
parent d4facaf503
commit b1f201f538
1 changed files with 1 additions and 0 deletions

View File

@ -492,6 +492,7 @@ register_minecart(
self._start_pos = nil
clicker:set_detach()
clicker:set_eye_offset({x=0, y=0, z=0},{x=0, y=0, z=0})
mcl_player.player_set_animation(clicker, "stand" , 30)
elseif not self._driver then
self._driver = player_name
self._start_pos = self.object:get_pos()