mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-25 22:07:59 +01:00
Fixed legs detaching from ponies' torsos when swimming
This commit is contained in:
parent
dd630248dd
commit
77817a352d
1 changed files with 3 additions and 0 deletions
|
@ -156,6 +156,9 @@ public abstract class AbstractPonyModel<T extends LivingEntity> extends ClientPo
|
||||||
|
|
||||||
if (attributes.isSwimmingRotated) {
|
if (attributes.isSwimmingRotated) {
|
||||||
head.setPivot(0, HEAD_RP_Y_SWIM, HEAD_RP_Z_SWIM);
|
head.setPivot(0, HEAD_RP_Y_SWIM, HEAD_RP_Z_SWIM);
|
||||||
|
|
||||||
|
rightLeg.pivotZ -= 1.5F;
|
||||||
|
leftLeg.pivotZ -= 1.5F;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue