mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-27 15:17:59 +01:00
Fixed leg animation whilst flying
This commit is contained in:
parent
9ad976dbb7
commit
3d9eef0ceb
1 changed files with 1 additions and 3 deletions
|
@ -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);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue