Skip to content

Commit

Permalink
fix(MultiActions): doing the opposite on KillAura (#5449)
Browse files Browse the repository at this point in the history
  • Loading branch information
1zun4 authored Jan 25, 2025
1 parent e71d1b6 commit 4e57074
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ object ModuleKillAura : ClientModule("KillAura", Category.COMBAT) {
val wasBlocking = player.isBlockAction

if (wasBlocking) {
if (!KillAuraAutoBlock.enabled && ModuleMultiActions.mayCurrentlyAttackWhileUsing()) {
if (!KillAuraAutoBlock.enabled && !ModuleMultiActions.mayCurrentlyAttackWhileUsing()) {
return
}

Expand All @@ -518,7 +518,7 @@ object ModuleKillAura : ClientModule("KillAura", Category.COMBAT) {
waitTicks(KillAuraAutoBlock.tickOff)
}
}
} else if (player.isUsingItem && ModuleMultiActions.mayCurrentlyAttackWhileUsing()) {
} else if (player.isUsingItem && !ModuleMultiActions.mayCurrentlyAttackWhileUsing()) {
return // return if it's not allowed to attack while the player is using another item that's not a shield
}

Expand Down

0 comments on commit 4e57074

Please sign in to comment.