Commit 1b5407f
committed
fix: (sprint) drop sprint when a silent rotation diverges from movement
GrimAC's prediction only allows sprint whose movement resolves to forward=1 in the frame of the yaw sent to the server (movement within ~45 deg of the sent yaw). Scaffold/KillAura silent rotations that point off the movement direction while sprinting made every tick unpredictable and flagged. Feed the sprint controller the server-rotation-frame input again (as older builds did) and add an AntiCheatSprint guard (default on) that stops sprint whenever a server-side rotation is active and the server-frame forward drops below 1, overriding AllDirections and scaffold-controlled sprint.1 parent 75de5ec commit 1b5407f
2 files changed
Lines changed: 18 additions & 8 deletions
File tree
- src/main/java/net/ccbluex/liquidbounce
- features/module/modules/movement
- injection/forge/mixins/entity
Lines changed: 14 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
63 | 66 | | |
64 | 67 | | |
65 | 68 | | |
| |||
68 | 71 | | |
69 | 72 | | |
70 | 73 | | |
71 | | - | |
| 74 | + | |
72 | 75 | | |
73 | 76 | | |
74 | 77 | | |
| |||
179 | 182 | | |
180 | 183 | | |
181 | 184 | | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
182 | 195 | | |
183 | 196 | | |
184 | 197 | | |
| |||
Lines changed: 4 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
424 | 424 | | |
425 | 425 | | |
426 | 426 | | |
427 | | - | |
428 | | - | |
429 | | - | |
430 | | - | |
431 | | - | |
432 | | - | |
433 | | - | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
434 | 431 | | |
435 | 432 | | |
436 | 433 | | |
| |||
0 commit comments