forked from MineClone5/MineClone5
Fix #1375
This commit is contained in:
parent
97991d138c
commit
6f8d0d4de0
|
@ -247,7 +247,7 @@ function boat.on_step(self, dtime, moveresult)
|
|||
else
|
||||
local ctrl = self._passenger:get_player_control()
|
||||
if ctrl and ctrl.sneak then
|
||||
detach_player(self._passenger, true)
|
||||
detach_object(self._passenger, true)
|
||||
self._passenger = nil
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue