aboutsummaryrefslogtreecommitdiff
path: root/azalea/src/pathfinder/moves
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2026-01-18 08:41:46 +0600
committermat <git@matdoes.dev>2026-01-18 08:41:46 +0600
commitfb92f65b3da49b6487bf6fa05010b12a3ab5d4ed (patch)
treeaaa542011730f36e805f1ec31ba37c8387dc48b9 /azalea/src/pathfinder/moves
parent5c3ea8e1d97d92b4ea9c406bbb59f928ee0c6a66 (diff)
downloadazalea-drasl-fb92f65b3da49b6487bf6fa05010b12a3ab5d4ed.tar.xz
doc and typo fix
Diffstat (limited to 'azalea/src/pathfinder/moves')
-rw-r--r--azalea/src/pathfinder/moves/parkour.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea/src/pathfinder/moves/parkour.rs b/azalea/src/pathfinder/moves/parkour.rs
index d37c5751..c95d436b 100644
--- a/azalea/src/pathfinder/moves/parkour.rs
+++ b/azalea/src/pathfinder/moves/parkour.rs
@@ -239,7 +239,7 @@ fn execute_parkour_move(mut ctx: ExecuteCtx) {
if !ctx.physics.on_ground() && ctx.physics.velocity.y.abs() < 0.1 {
let should_sneak = {
let world = ctx.world.read();
- let pos_above = ctx.position.up(1.62 + 0.3);
+ let pos_above = ctx.position.up(1.8 + 0.1);
let block_pos_above = BlockPos::from(pos_above);
let block_pos_above_plus_velocity =
BlockPos::from(pos_above + ctx.physics.velocity.with_y(0.) * 4.);