Skip to content

Commit

Permalink
Update AutoClicker.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
C00LC0D35 authored Jan 7, 2024
1 parent a7f4f38 commit a6a7f2b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ class AutoClicker : Module() {
rightDelay = updateClicks().toLong() - 1L
}

if (blockValue.get() && mc.thePlayer.heldItem?.item is ItemSword && mc.gameSettings.keyBindAttack.isKeyDown && leftValue.get() && blockOnClick.get() && Mouse.isButtonDown(1) && (!breakStopValue.get() || mc.playerController.curBlockDamageMP == 0F)) {
if (blockValue.get() && mc.thePlayer.heldItem?.item is ItemSword && leftValue.get() && (!breakStopValue.get() || mc.playerController.curBlockDamageMP == 0F)) {
mc.gameSettings.keyBindUseItem.pressed = false

doBlock = when(blockMode.get().lowercase()) {
Expand Down

0 comments on commit a6a7f2b

Please sign in to comment.