Fixed legs detaching from ponies' torsos when swimming

This commit is contained in:
Sollace 2023-03-20 18:52:49 +00:00
parent dd630248dd
commit 77817a352d

View file

@ -156,6 +156,9 @@ public abstract class AbstractPonyModel<T extends LivingEntity> extends ClientPo
if (attributes.isSwimmingRotated) {
head.setPivot(0, HEAD_RP_Y_SWIM, HEAD_RP_Z_SWIM);
rightLeg.pivotZ -= 1.5F;
leftLeg.pivotZ -= 1.5F;
}
}