Fixed left ear rotating incorrectly

This commit is contained in:
Sollace 2023-10-05 19:52:03 +01:00
parent 76a2e043b7
commit 72ff58015d
No known key found for this signature in database
GPG key ID: E52FACE7B5C773DB

View file

@ -29,6 +29,7 @@ public class PonyEars implements SubModel, MsonModel {
@Override @Override
public void setPartAngles(ModelAttributes attributes, float limbAngle, float limbSpeed, float bodySwing, float animationProgress) { public void setPartAngles(ModelAttributes attributes, float limbAngle, float limbSpeed, float bodySwing, float animationProgress) {
right.resetTransform(); right.resetTransform();
left.resetTransform();
limbSpeed = MathHelper.clamp(limbSpeed, 0, 1); limbSpeed = MathHelper.clamp(limbSpeed, 0, 1);