mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
fmt
This commit is contained in:
@ -545,7 +545,9 @@ where
|
|||||||
.chain(
|
.chain(
|
||||||
Some(JUMPS.iter())
|
Some(JUMPS.iter())
|
||||||
.filter(|_| {
|
.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_climb
|
||||||
|| traversal_cfg.can_fly
|
|| traversal_cfg.can_fly
|
||||||
})
|
})
|
||||||
|
Reference in New Issue
Block a user