diff options
| author | mat <github@matdoes.dev> | 2022-10-02 14:52:48 -0500 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2022-10-02 14:52:48 -0500 |
| commit | 37f9f1c6feda676be30bef31291eaed2a5fc82ce (patch) | |
| tree | 9e61a94766d0477eeb861165fa721f8b42bb9a85 /azalea-physics/src/collision | |
| parent | c9b4dccd7eaeed68ce96cf5167916417d0baa6a7 (diff) | |
| download | azalea-drasl-37f9f1c6feda676be30bef31291eaed2a5fc82ce.tar.xz | |
add jumping
Diffstat (limited to 'azalea-physics/src/collision')
| -rw-r--r-- | azalea-physics/src/collision/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea-physics/src/collision/mod.rs b/azalea-physics/src/collision/mod.rs index a18440b7..f08e48e3 100644 --- a/azalea-physics/src/collision/mod.rs +++ b/azalea-physics/src/collision/mod.rs @@ -133,7 +133,7 @@ impl MovableEntity for EntityMut<'_> { let horizontal_collision = x_collision || z_collision; let vertical_collision = movement.y != collide_result.y; let on_ground = vertical_collision && movement.y < 0.; - // self.on_ground = on_ground; + self.on_ground = on_ground; // TODO: minecraft checks for a "minor" horizontal collision here |
