Fix block-snapping at low framerates

This commit is contained in:
Joshua Barretto 2021-04-20 14:59:59 +01:00
parent 9ff7db9b1c
commit a19212daf7

View File

@ -1363,7 +1363,6 @@ fn box_voxel_collision<'a, T: BaseVol<Vox = Block> + ReadVol>(
radius, radius,
z_range.clone(), z_range.clone(),
) && vel.0.z <= 0.0 ) && vel.0.z <= 0.0
&& vel.0.z > -1.5
&& was_on_ground && was_on_ground
&& block_snap && block_snap
{ {