[PR #4195] [MERGED] A player who boards a boat while gliding leaves the elytra pose #5473

Closed
opened 2026-11-03 05:12:50 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/4195
Author: @kacpherek
Created: 10/30/2026
Status: ✅ Merged
Merged: 10/30/2026
Merged by: @rdbtCVS

Base: main ← Head: fix/discord-carts-boats


📝 Commits (1)

  • 8880df5 End a glide when a player boards a boat

📊 Changes

1 file changed (+6 additions, -0 deletions)

View changed files

📝 crates/horizon-client/src/pose.rs (+6 -0)

📄 Description

What and why

  • End a glide when a player boards a boat: A player who boarded a boat while gliding kept the FallFlying pose: passenger_pose_tick cleared swimming but not fall_flying, so update_player_pose still picked FallFlying and fall_fly_ticks kept counting. Vanilla LivingEntity.updateFallFlying (in aiStep, run by rideTick's tick) clears the glide flag once canGlide fails for a passenger (canGlide needs !isPassenger()), and LivingEntity.tick resets fallFlyTicks when not gliding (LivingEntity.java). Fixes #3093

Self-check

rustfmt on changed files; built by CI; not run in game.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/4195 **Author:** [@kacpherek](https://github.com/kacpherek) **Created:** 10/30/2026 **Status:** ✅ Merged **Merged:** 10/30/2026 **Merged by:** [@rdbtCVS](https://github.com/rdbtCVS) **Base:** `main` ← **Head:** `fix/discord-carts-boats` --- ### 📝 Commits (1) - [`8880df5`](https://github.com/horizon-rust/horizon/commit/8880df58c1444baf3273394d44023793940ce3af) End a glide when a player boards a boat ### 📊 Changes **1 file changed** (+6 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/pose.rs` (+6 -0) </details> ### 📄 Description ## What and why - End a glide when a player boards a boat: A player who boarded a boat while gliding kept the FallFlying pose: passenger_pose_tick cleared swimming but not fall_flying, so update_player_pose still picked FallFlying and fall_fly_ticks kept counting. Vanilla LivingEntity.updateFallFlying (in aiStep, run by rideTick's tick) clears the glide flag once canGlide fails for a passenger (canGlide needs !isPassenger()), and LivingEntity.tick resets fallFlyTicks when not gliding (LivingEntity.java). Fixes #3093 ## Self-check rustfmt on changed files; built by CI; not run in game. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:12:50 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#5473
No description provided.