diff options
| author | mat <git@matdoes.dev> | 2023-08-25 03:19:11 -0500 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2023-08-25 03:19:11 -0500 |
| commit | 7df2256f35fdf6925e2499966774d3a9a861e69c (patch) | |
| tree | 978782c1fdcba9f6119ec5872555dd6673f180af /azalea/src/pathfinder/simulation.rs | |
| parent | d5465cd28e43d48b3e913fdb1161eb907e4d80d0 (diff) | |
| download | azalea-drasl-7df2256f35fdf6925e2499966774d3a9a861e69c.tar.xz | |
add failing test for that weird diagonal edge case
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
Diffstat (limited to 'azalea/src/pathfinder/simulation.rs')
| -rw-r--r-- | azalea/src/pathfinder/simulation.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/azalea/src/pathfinder/simulation.rs b/azalea/src/pathfinder/simulation.rs index 372a8a3b..9ee77052 100644 --- a/azalea/src/pathfinder/simulation.rs +++ b/azalea/src/pathfinder/simulation.rs @@ -89,6 +89,7 @@ impl Simulation { azalea_entity::LookDirection::default(), Sprinting(true), azalea_entity::metadata::Player, + azalea_entity::EyeHeight::new(player.physics.dimensions.height * 0.85), player, )) .id(); |
