From 60f8071058792a38f6bc830957643c92f58f03a8 Mon Sep 17 00:00:00 2001 From: Sumyjkl Date: Wed, 10 Aug 2022 13:21:48 +1000 Subject: [PATCH] workaround to force animations to work due to bug in mcl --- init.lua | 5 +++++ 1 file changed, 5 insertions(+) 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