This commit is contained in:
Joshua Barretto 2021-02-27 23:21:01 +00:00
parent 1223519ea1
commit 6051c06462

View File

@ -545,7 +545,9 @@ where
.chain(
Some(JUMPS.iter())
.filter(|_| {
vol.get(pos - Vec3::unit_z()).map(|b| !b.is_liquid()).unwrap_or(true)
vol.get(pos - Vec3::unit_z())
.map(|b| !b.is_liquid())
.unwrap_or(true)
|| traversal_cfg.can_climb
|| traversal_cfg.can_fly
})