From e0cbf68df1903aafaa5a08b7c167465849e093a0 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Wed, 31 Aug 2022 20:11:34 +0000 Subject: test gravity --- azalea-physics/src/collision/mod.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'azalea-physics/src/collision') 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); -- cgit v1.2.3