From 3d9eef0ceb6c8b7d025c243ee2a434883c00e180 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 7963f14b..b77b8e32 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); } }