diff --git a/common/src/path.rs b/common/src/path.rs index edce17249e..85e8f174af 100644 --- a/common/src/path.rs +++ b/common/src/path.rs @@ -231,7 +231,7 @@ where .get(pos + Vec3::unit_z() * 3) .map(|b| !b.is_solid()) .unwrap_or(true)) - && (dir.z > 0 + && (dir.z >= 0 || vol .get(pos + *dir + Vec3::unit_z() * 2) .map(|b| !b.is_solid())