Fixes #4559: Use visual bounding box for overlay (#4562)

This commit is contained in:
yueh
2020-08-05 22:08:48 +02:00
committed by GitHub
parent e19991f1f9
commit e0abe9b9a9
+1 -1
View File
@@ -49,7 +49,7 @@ public class FacadePart implements IFacadePart {
@Override
public void getBoxes(final IPartCollisionHelper ch, boolean livingEntity) {
if (livingEntity) {
if (livingEntity || !ch.isBBCollision()) {
// prevent weird snag behavior
ch.addBox(0.0, 0.0, 14, 16.0, 16.0, 16.0);
} else {