diff --git a/src/main/java/net/ccbluex/liquidbounce/FDPClient.kt b/src/main/java/net/ccbluex/liquidbounce/FDPClient.kt index dff850b768..8bdf62f615 100644 --- a/src/main/java/net/ccbluex/liquidbounce/FDPClient.kt +++ b/src/main/java/net/ccbluex/liquidbounce/FDPClient.kt @@ -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 = "" diff --git a/src/main/java/net/ccbluex/liquidbounce/features/module/modules/exploit/disablers/vulcan/VulcanScaffold.kt b/src/main/java/net/ccbluex/liquidbounce/features/module/modules/exploit/disablers/vulcan/VulcanScaffold.kt new file mode 100644 index 0000000000..dcb4b96cf8 --- /dev/null +++ b/src/main/java/net/ccbluex/liquidbounce/features/module/modules/exploit/disablers/vulcan/VulcanScaffold.kt @@ -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)) + } + } +} \ No newline at end of file