Non solid blocks should not count as solid

This commit is contained in:
jglrxavpok 2020-05-03 16:15:35 +02:00
parent 6ce82e2527
commit 9779a77212
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ public class CollisionUtils {
// TODO: block collision boxes
// TODO: for the moment, always consider a full block
if (!block.isAir()) {
if (block.isSolid()) {
corner.subtract(axis.getX()*amount, axis.getY()*amount, axis.getZ()*amount);
if (Math.abs(axis.getX()) > 10e-16) {