Skip to content

Commit

Permalink
fix: hypixel scaffold disabler flag fix (CCBlueX#5486)
Browse files Browse the repository at this point in the history
  • Loading branch information
1zun4 authored Jan 28, 2025
1 parent 26212d3 commit 3b49aac
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import net.ccbluex.liquidbounce.event.handler
import net.ccbluex.liquidbounce.event.tickHandler
import net.ccbluex.liquidbounce.features.module.modules.exploit.disabler.ModuleDisabler
import net.ccbluex.liquidbounce.features.module.modules.world.scaffold.ModuleScaffold
import net.ccbluex.liquidbounce.utils.math.copy
import net.minecraft.network.packet.c2s.play.PlayerMoveC2SPacket

internal object DisablerHypixelScaffold : ToggleableConfigurable(ModuleDisabler, "HypixelScaffold", false) {
Expand Down Expand Up @@ -54,7 +55,7 @@ internal object DisablerHypixelScaffold : ToggleableConfigurable(ModuleDisabler,

if (!readyToDisable && player.isOnGround) {
readyToDisable = true
player.setPos(player.x, player.y + 0.033, player.z)
player.velocity = player.velocity.copy(y = 0.01)
hasJumped = true
}
}
Expand Down

0 comments on commit 3b49aac

Please sign in to comment.