Skip to content

Commit

Permalink
W
Browse files Browse the repository at this point in the history
  • Loading branch information
Aspw-w committed Apr 28, 2024
1 parent f873a7b commit d49d4ec
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/java/net/aspw/client/Launch.kt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ object Launch {
// Client information
const val CLIENT_BEST = "NightX"
const val CLIENT_FOLDER = "NightX-Client"
const val CLIENT_VERSION = "B110"
const val CLIENT_VERSION = "B111"
const val CLIENT_CHAT = "§c[$CLIENT_BEST] §r"

var isStarting = false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -886,6 +886,7 @@ class KillAura : Module() {
C0BPacketEntityAction.Action.STOP_SPRINTING
)
)
releasePackets()
}
if (!autoBlockModeValue.get().equals("fake", true) && !autoBlockModeValue.get().equals("none", true)) {
mc.netHandler.addToSendQueue(
Expand All @@ -911,14 +912,16 @@ class KillAura : Module() {
* Check if run should be cancelled
*/
private val cancelRun: Boolean
get() = mc.thePlayer.isSpectator || !isAlive(mc.thePlayer) || Launch.moduleManager[Flight::class.java]!!.state && Launch.moduleManager[Flight::class.java]!!.modeValue.get()
get() = mc.thePlayer.isSpectator || mc.thePlayer.isRiding || mc.thePlayer.inventory.getCurrentItem().item !is ItemSword || !isAlive(
mc.thePlayer
) || Launch.moduleManager[Flight::class.java]!!.state && Launch.moduleManager[Flight::class.java]!!.modeValue.get()
.equals(
"VerusSmooth",
true
) || Launch.moduleManager[LongJump::class.java]!!.state && Launch.moduleManager[LongJump::class.java]!!.modeValue.get()
.equals("VerusHigh", true)
|| Launch.moduleManager[Freecam::class.java]!!.state ||
Launch.moduleManager[Scaffold::class.java]!!.state || Launch.moduleManager[LegitScaffold::class.java]!!.state || Launch.moduleManager[Blink::class.java]!!.state && antiBlinkValue.get() || clickOnly.get() && !mc.gameSettings.keyBindAttack.isKeyDown || mc.thePlayer.isRiding || noInventoryAttackValue.get() && mc.currentScreen is GuiContainer
Launch.moduleManager[Scaffold::class.java]!!.state || Launch.moduleManager[LegitScaffold::class.java]!!.state || Launch.moduleManager[Blink::class.java]!!.state && antiBlinkValue.get() || clickOnly.get() && !mc.gameSettings.keyBindAttack.isKeyDown || noInventoryAttackValue.get() && mc.currentScreen is GuiContainer

/**
* Check if [entity] is alive
Expand Down

0 comments on commit d49d4ec

Please sign in to comment.