Skip to content

Minecraft: Java Edition 26.3 rewritten from scratch in Rust, checked against vanilla with 281 differential harnesses. Get it with the Horizon launcher.

Forget the seat when the rider gets up

MSedgeMC6d3917100d08
diff --git a/crates/horizon-client/src/game.rs b/crates/horizon-client/src/game.rs
index 3afe1d1bf..bb236446c 100644
--- a/crates/horizon-client/src/game.rs
+++ b/crates/horizon-client/src/game.rs
@@ -7085,6 +7085,11 @@ impl Game<'_> {
self.tick_riding(keys)?;
}
let riding = self.riding.is_some();
+ // A seat that is given up is taken again as a new one: the next mount
+ // snaps the camera even when it is the same vehicle.
+ if !riding {
+ self.posed_rider = None;
+ }
let entity_collisions = self.player_entity_collisions();
let spin_targets = self.spin_targets();
let sprint_window = self.settings.sprint_window;