Skip to content

Commit

Permalink
fix(AutoClicker): block abort (#5363)
Browse files Browse the repository at this point in the history
fixes #5261
  • Loading branch information
1zun4 authored Jan 19, 2025
1 parent 79cacf3 commit f40d64e
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,11 @@ object ModuleAutoClicker : ClientModule("AutoClicker", Category.COMBAT, aliases
return@run
}

// Check if the player is breaking a block, if so, return
if (interaction.isBreakingBlock) {
return@run
}

val crosshairTarget = mc.crosshairTarget

if (crosshairTarget is EntityHitResult) {
Expand Down

0 comments on commit f40d64e

Please sign in to comment.