File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
java/com/lambda/mixin/render
kotlin/com/lambda/interaction/managers/rotating Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ private float modifyEquipProgressMainHand(float value) {
6464 mainHand = currentStack ;
6565 }
6666
67- float progress = config .getOldAnimations () ? 1 : (float ) Math .pow (client .player .getAttackCooldownProgress (1 ), 3 );
67+ float progress = config .getOldAnimations () ? 1 : (float ) Math .pow (client .player .getHandEquippingProgress (1 ), 3 );
6868
6969 return (ItemStack .areEqual (mainHand , currentStack ) ? progress : 0 ) - equipProgressMainHand ;
7070 }
Original file line number Diff line number Diff line change @@ -49,9 +49,7 @@ data class RotationRequest(
4949 var age = 0
5050 override val nowOrNothing = false
5151
52- override val done: Boolean get() {
53- return RotationManager .activeRotation.dist(rotation.value ? : return false ) <= 0.001
54- }
52+ override val done: Boolean get() = RotationManager .activeRotation.dist(rotation.value ? : return false ) <= 0.001
5553
5654 override fun submit (queueIfMismatchedStage : Boolean ): RotationRequest =
5755 RotationManager .request(this , queueIfMismatchedStage)
You can’t perform that action at this time.
0 commit comments