Commit 5113925
committed
fix: (rotation) sprint-jump boost follows the sent yaw whenever movement is corrected
The sprint-jump horizontal boost (motionX -= sin(yaw)*0.2) only switched from the camera yaw to the sent silent yaw for the legacy Strafe path. Under the default Modern Silent correction (and Strict), getStrafe() is false, so the boost fired along the camera yaw while the corrected walking velocity and GrimAC's reconstruction both used the sent yaw -> a ~0.2*2*sin(dYaw/2) horizontal desync on every jump -> Simulation spam (jump-to-place, jump-while-aiming). Use the sent yaw for the boost whenever movement correction is active (legacy Strafe OR modern Silent/Strict) so the jump stays consistent with the walking frame the server predicts.1 parent 61d9648 commit 5113925
1 file changed
Lines changed: 9 additions & 1 deletion
File tree
- src/main/java/net/ccbluex/liquidbounce/injection/forge/mixins/entity
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
98 | 106 | | |
99 | 107 | | |
100 | 108 | | |
| |||
0 commit comments