From 8a801e7c411e63b7230841c910d62611c45771de Mon Sep 17 00:00:00 2001 From: Sollace Date: Mon, 22 Jul 2024 01:04:16 +0200 Subject: [PATCH] Fixed reformed changelings' ears --- .../com/minelittlepony/client/model/part/PonyEars.java | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/main/java/com/minelittlepony/client/model/part/PonyEars.java b/src/main/java/com/minelittlepony/client/model/part/PonyEars.java index 25f1df66..f0f68013 100644 --- a/src/main/java/com/minelittlepony/client/model/part/PonyEars.java +++ b/src/main/java/com/minelittlepony/client/model/part/PonyEars.java @@ -6,7 +6,6 @@ import net.minecraft.client.util.math.MatrixStack; import net.minecraft.util.math.MathHelper; import com.minelittlepony.api.model.SubModel; -import com.minelittlepony.api.pony.meta.Race; import com.minelittlepony.api.model.ModelAttributes; import com.minelittlepony.mson.api.*; import com.minelittlepony.mson.api.model.PartBuilder; @@ -32,18 +31,13 @@ public class PonyEars implements SubModel, MsonModel { right.resetTransform(); left.resetTransform(); - if (attributes.metadata.race() == Race.CHANGEDLING - || attributes.metadata.race() == Race.CHANGELING) { - return; - } - limbSpeed = MathHelper.clamp(limbSpeed, 0, 1); float forwardFold = 0.14F * limbSpeed; float sidewaysFlop = 0.11F * limbSpeed; - right.pitch = forwardFold; - left.pitch = forwardFold; + right.pitch += forwardFold; + left.pitch += forwardFold; right.roll -= sidewaysFlop; left.roll += sidewaysFlop;