Omitted unnecessary test

This commit is contained in:
Joshua Barretto 2020-03-17 16:37:39 +00:00
parent 4580752e78
commit 95eeb7e145

View File

@ -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())