aboutsummaryrefslogtreecommitdiff
path: root/azalea-physics/src/collision
diff options
context:
space:
mode:
authorUbuntu <github@matdoes.dev>2022-08-31 20:11:34 +0000
committerUbuntu <github@matdoes.dev>2022-08-31 20:11:34 +0000
commite0cbf68df1903aafaa5a08b7c167465849e093a0 (patch)
treed3d89b26aacbb86cbacee27b5422d38ad9e0ceb5 /azalea-physics/src/collision
parent4678327848738e6b58a793321382b6ee0b528866 (diff)
downloadazalea-drasl-e0cbf68df1903aafaa5a08b7c167465849e093a0.tar.xz
test gravity
Diffstat (limited to 'azalea-physics/src/collision')
-rw-r--r--azalea-physics/src/collision/mod.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/azalea-physics/src/collision/mod.rs b/azalea-physics/src/collision/mod.rs
index 465698b2..fe060b90 100644
--- a/azalea-physics/src/collision/mod.rs
+++ b/azalea-physics/src/collision/mod.rs
@@ -147,10 +147,10 @@ impl MovableEntity for EntityMut<'_> {
// TODO: minecraft checks for a "minor" horizontal collision here
let block_pos_below = { self.on_pos_legacy() };
- let _block_state_below = self
- .dimension
- .get_block_state(&block_pos_below)
- .expect("Couldn't get block state below");
+ // let _block_state_below = self
+ // .dimension
+ // .get_block_state(&block_pos_below)
+ // .expect("Couldn't get block state below");
println!("move_entity 4");
// self.check_fall_damage(collide_result.y, on_ground, block_state_below, block_pos_below);