Merge branch 'fix_sitting_minecart_bug' of https://github.com/Rootyjr/MineClone2

This commit is contained in:
Wuzzy 2019-09-10 16:09:29 +02:00
commit 719242c840

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()