diff --git a/mods/ENTITIES/mcl_boats/init.lua b/mods/ENTITIES/mcl_boats/init.lua index 58b8d5b27..9ce552c97 100644 --- a/mods/ENTITIES/mcl_boats/init.lua +++ b/mods/ENTITIES/mcl_boats/init.lua @@ -248,11 +248,8 @@ function boat.on_step(self, dtime) else -- On top of water new_acce = {x = 0, y = 0, z = 0} - if math.abs(self.object:get_velocity().y) < 1 then - local pos = self.object:get_pos() - pos.y = math.floor(pos.y) + boat_y_offset + if math.abs(self.object:get_velocity().y) < 0 then new_velo = get_velocity(self._v, self.object:get_yaw(), 0) - self.object:set_pos(pos) else new_velo = get_velocity(self._v, self.object:get_yaw(), self.object:get_velocity().y)