mirror of
https://github.com/ViaVersion/ViaFabricPlus.git
synced 2025-02-27 03:33:24 +01:00
Fix boat entity mounted height offset in <= 1.20.1
Closes https://github.com/ViaVersion/ViaFabricPlus/issues/537
This commit is contained in:
parent
f36ed5118e
commit
d03590ab97
@ -80,7 +80,8 @@ public class EntityRidingOffsetsPre1_20_2 {
|
||||
if (passenger instanceof AnimalEntity) xOffset += 0.2F;
|
||||
}
|
||||
|
||||
return new Vec3d(xOffset, yOffset, 0F);
|
||||
|
||||
return new Vec3d(xOffset, yOffset, 0F).rotateY(-(float) (Math.PI / 2));
|
||||
}
|
||||
} else if (entity instanceof CamelEntity camelEntity) {
|
||||
if (!camelEntity.hasPassenger(passenger)) return Vec3d.ZERO;
|
||||
|
Loading…
Reference in New Issue
Block a user