Skip to content

Commit

Permalink
blink fix
Browse files Browse the repository at this point in the history
  • Loading branch information
C00LC0D35 authored Dec 9, 2023
1 parent fb8fa47 commit ed6d95f
Showing 1 changed file with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,10 @@ object KillAura : Module() {
if (keepDirectionValue.get()) { keepDirectionTickValue.get() + 1 } else { 1 },
if (rotationRevValue.get()) { rotationRevTickValue.get() + 1 } else { 0 }
)
if (legit2Blink) {
BlinkUtils.setBlinkState(off = true, release = true)
legit2Blink = false
}
}

/**
Expand Down Expand Up @@ -447,6 +451,10 @@ object KillAura : Module() {
stopBlocking()
discoveredTargets.clear()
inRangeDiscoveredTargets.clear()
if (legit2Blink) {
BlinkUtils.setBlinkState(off = true, release = true)
legit2Blink = false
}
return
}

Expand All @@ -456,13 +464,21 @@ object KillAura : Module() {
currentTarget = null
hitable = false
if (mc.currentScreen is GuiContainer) containerOpen = System.currentTimeMillis()
if (legit2Blink) {
BlinkUtils.setBlinkState(off = true, release = true)
legit2Blink = false
}
return
}

updateTarget()

if (discoveredTargets.isEmpty()) {
stopBlocking()
if (legit2Blink) {
BlinkUtils.setBlinkState(off = true, release = true)
legit2Blink = false
}
return
}

Expand Down

0 comments on commit ed6d95f

Please sign in to comment.