From 051e801862d1ff3a0f0cec3de1e37d1fe31d334d Mon Sep 17 00:00:00 2001 From: Sollace Date: Sun, 26 Feb 2023 00:41:02 +0000 Subject: [PATCH] Correctly rotate pegasus wings when flying/gliding --- .../minelittlepony/unicopia/entity/player/PlayerPhysics.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/minelittlepony/unicopia/entity/player/PlayerPhysics.java b/src/main/java/com/minelittlepony/unicopia/entity/player/PlayerPhysics.java index 5e124cfc..31a933f3 100644 --- a/src/main/java/com/minelittlepony/unicopia/entity/player/PlayerPhysics.java +++ b/src/main/java/com/minelittlepony/unicopia/entity/player/PlayerPhysics.java @@ -121,8 +121,11 @@ public class PlayerPhysics extends EntityPhysics implements Tickab spreadAmount += Math.sin(pony.asEntity().age * 4F) * 8; } else { if (isGliding()) { - spreadAmount += 2.5F; + spreadAmount += MineLPDelegate.getInstance().getPlayerPonyRace(entity).isEquine() ? -0.8F : 2.5F; } else { + if (MineLPDelegate.getInstance().getPlayerPonyRace(entity).isEquine()) { + spreadAmount -= 1.8F; + } spreadAmount += strafe * 10; spreadAmount += thrustScale * 24; }