From 2c0d0c7b45638382031e5fe2f1c18d501f92bf87 Mon Sep 17 00:00:00 2001 From: Sollace Date: Sat, 3 Jun 2023 14:01:46 +0100 Subject: [PATCH] Fixed leg animation whilst flying --- .../minelittlepony/unicopia/entity/player/PlayerPhysics.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 f6fa64e9..68bca5ef 100644 --- a/src/main/java/com/minelittlepony/unicopia/entity/player/PlayerPhysics.java +++ b/src/main/java/com/minelittlepony/unicopia/entity/player/PlayerPhysics.java @@ -327,9 +327,7 @@ public class PlayerPhysics extends EntityPhysics implements Tickab } } - // TODO: Probably wrong. Need to redo this - entity.limbAnimator.setSpeed(20 + (float)Math.cos(entity.age / 7F) - 0.5F); - entity.limbAnimator.updateLimbs(thrustScale, 1); + LimbAnimationUtil.resetToZero(entity.limbAnimator); } }