diff --git a/init.lua b/init.lua index 5461497..2d67a0e 100644 --- a/init.lua +++ b/init.lua @@ -404,6 +404,11 @@ function boat.on_step(self, dtime, moveresult) local has_controls = false if self._driver then + if mcl then + mcl_player.player_attached[self._driver:get_player_name()] = true + mcl_player.player_set_animation(self._driver, "walk" , 30) + mcl_player.player_set_animation(self._driver, "sit" , 30) + end if had_passenger and not self._passenger then set_attach(self) end