Fixed leg animation whilst flying

This commit is contained in:
Sollace 2023-06-03 14:01:46 +01:00
parent 9ad976dbb7
commit 3d9eef0ceb

View file

@ -327,9 +327,7 @@ public class PlayerPhysics extends EntityPhysics<PlayerEntity> implements Tickab
} }
} }
// TODO: Probably wrong. Need to redo this LimbAnimationUtil.resetToZero(entity.limbAnimator);
entity.limbAnimator.setSpeed(20 + (float)Math.cos(entity.age / 7F) - 0.5F);
entity.limbAnimator.updateLimbs(thrustScale, 1);
} }
} }