From 2985f9475132123456d446a14e1c767a4db5a203 Mon Sep 17 00:00:00 2001 From: Joshua Barretto Date: Sun, 30 Jun 2019 14:11:11 +0100 Subject: [PATCH] Prevented stalling when jumping before a block-hopping --- common/src/sys/phys.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/common/src/sys/phys.rs b/common/src/sys/phys.rs index e8eb404833..088efe7b05 100644 --- a/common/src/sys/phys.rs +++ b/common/src/sys/phys.rs @@ -260,7 +260,6 @@ impl<'a> System<'a> for Sys { // If the space above is free... if !collision_with(pos.0 + Vec3::unit_z() * 1.1, near_iter.clone()) && resolve_dir.z == 0.0 - && vel.0.z <= 0.0 && collision_with( pos.0 + resolve_dir - Vec3::unit_z() * 1.05, near_iter.clone(),