Merge pull request #2409 from kacpherek/fix/flying-edge-backoff

🤖 Agent: Proven in union R1 (branch union/cg19-r1, main + 83 of kacpherek's PRs): the 98 harnesses it can affect, clippy -D warnings, tests, lan_e2e in-frame and on the server thread.
This commit is contained in:
Ludovic Marie
2026-10-27 14:56:25 +01:00
committed by GitHub
+2 -1
View File
@@ -1937,7 +1937,8 @@ impl EntityMoveWorld for MotionWorld<'_, '_, '_> {
let input = EdgeBackoffInput {
movement,
bounds: self.player.bounds(),
flying: false,
// Player.maybeBackOffFromEdge: not while flying.
flying: self.player.flying,
self_or_player: matches!(mover, MoverType::SelfMovement | MoverType::Player),
fall_distance: self.player.fall_distance,
query_budget: 1_000_000,