aboutsummaryrefslogtreecommitdiff
path: root/azalea/src/pathfinder/simulation.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea/src/pathfinder/simulation.rs')
-rw-r--r--azalea/src/pathfinder/simulation.rs1
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();