Skip to content

Commit

Permalink
fix(KillAura): unwanted shield unblock (#5596)
Browse files Browse the repository at this point in the history
Fixes the shield being unblocked when holding it manually.
  • Loading branch information
1zun4 authored Feb 12, 2025
1 parent d7ca5c6 commit 3df7ee3
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,10 @@ object KillAuraAutoBlock : ToggleableConfigurable(ModuleKillAura, "AutoBlocking"
fun stopBlocking(pauses: Boolean = false): Boolean {
if (!pauses) {
blockVisual = false

if (mc.options.useKey.isPressed) {
return false
}
}

// We do not want the player to stop eating or else. Only when he blocks.
Expand Down

0 comments on commit 3df7ee3

Please sign in to comment.