Emulate correct value if entity doesn't have passengers

This commit is contained in:
FlorianMichael 2023-09-24 16:24:56 +02:00
parent e4cce0fa0c
commit 44163aa59c
No known key found for this signature in database
GPG Key ID: C2FB87E71C425126

View File

@ -94,6 +94,8 @@ public class EntityHeightOffsetsPre1_20_2 {
}
return new Vector3f(0, (float) yOffset, zOffset);
} else {
return new Vector3f();
}
} else if (entity instanceof SnifferEntity) {
yOffset = 1.8;