Skip to content

Commit

Permalink
Added VulcanScaffold
Browse files Browse the repository at this point in the history
  • Loading branch information
PrahXZ committed Apr 16, 2024
1 parent 5d6bfa0 commit c0bac05
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/net/ccbluex/liquidbounce/FDPClient.kt
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ object FDPClient {
var USER_NAME = ""

// Flags
var isInDev = true
var isInDev = false
var isStarting = true
var isLoadingConfig = true
private var latest = ""
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package net.ccbluex.liquidbounce.features.module.modules.exploit.disablers.vulcan

import net.ccbluex.liquidbounce.event.UpdateEvent
import net.ccbluex.liquidbounce.features.module.modules.exploit.disablers.DisablerMode
import net.ccbluex.liquidbounce.utils.MovementUtils
import net.minecraft.network.play.client.C0BPacketEntityAction

class VulcanScaffold : DisablerMode("VulcanScaffold") {

override fun onUpdate(event: UpdateEvent) {
if (MovementUtils.isMoving() && mc.thePlayer.ticksExisted % 20 == 0) {
mc.netHandler.addToSendQueue(C0BPacketEntityAction(mc.thePlayer, C0BPacketEntityAction.Action.START_SNEAKING))
mc.netHandler.addToSendQueue(C0BPacketEntityAction(mc.thePlayer, C0BPacketEntityAction.Action.STOP_SNEAKING))
}
}
}

0 comments on commit c0bac05

Please sign in to comment.