Skip to content

Commit 1331b93

Browse files
committed
fix: (killaura) keep autoblock attack/place inline to pass Grim PacketOrderI
postRotationAttack deferred the attack (C02) and hitblock place (C08) past the tick's flying packet, so they landed in the next tick's bucket alongside the C07 release -> GrimAC PacketOrderI (invalid combat/use/release tick order) + setback on every hit-with-autoblock. Gate post-move to autoBlock==Off; with autoblock engaged the packets stay inline (pre-flying), the reference build's clean two-tick cycle.
1 parent 44edf55 commit 1331b93

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

  • src/main/java/net/ccbluex/liquidbounce/features/module/modules/combat

src/main/java/net/ccbluex/liquidbounce/features/module/modules/combat/KillAura.kt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1035,7 +1035,11 @@ object KillAura : Module("KillAura", Category.COMBAT, Category.SubCategory.COMBA
10351035
* rotation reaches the server (post-move) so the hit is processed with the synced rotation.
10361036
*/
10371037
private fun dispatchAttack(entity: EntityLivingBase, isLastClick: Boolean) {
1038-
if (postRotationAttack) {
1038+
// Hitblock's attack (C02) and block-place (C08) must stay inline, before this tick's flying
1039+
// packet. Post-moving them pushes them past the flying boundary into the next tick's bucket,
1040+
// alongside the C07 release -> GrimAC PacketOrderI (invalid combat/use/release tick order) +
1041+
// setback. Keep post-move only for the pure no-autoblock attack, where it is Grim-safe.
1042+
if (postRotationAttack && autoBlock == "Off") {
10391043
PostRotationExecutor.runPostMove { attackEntity(entity, isLastClick) }
10401044
} else {
10411045
attackEntity(entity, isLastClick)

0 commit comments

Comments
 (0)