Skip to content

Commit

Permalink
LEGACY: Fixed Tower Rotation (CCBlueX#2816)
Browse files Browse the repository at this point in the history
  • Loading branch information
EclipsesDev committed Apr 15, 2024
1 parent ba2f961 commit 3a2b184
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ object NoFall : Module("NoFall", ModuleCategory.PLAYER) {
override fun onChange(oldValue: Float, newValue: Float) = newValue.coerceAtLeast(minFallDist.get())
}

val autoOff by BoolValue("AutoOff", true)
val autoOff by BoolValue("AutoOff", true) { mode == "HypixelBlink" }
val simulateDebug by BoolValue("SimulationDebug", false, subjective = true) { mode == "HypixelBlink" }
val fakePlayer by BoolValue("FakePlayer", true, subjective = true) { mode == "HypixelBlink" }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ object Scaffold : Module("Scaffold", ModuleCategory.WORLD, Keyboard.KEY_I) {

// Events
@EventTarget
private fun onUpdate(event: UpdateEvent) {
fun onUpdate(event: UpdateEvent) {
val player = mc.thePlayer ?: return

if (mc.playerController.currentGameType == WorldSettings.GameType.SPECTATOR)
Expand Down Expand Up @@ -793,9 +793,9 @@ object Scaffold : Module("Scaffold", ModuleCategory.WORLD, Keyboard.KEY_I) {
placeRotation ?: return false

//if (rotations) {
val fixedSensitivityRotation = placeRotation.rotation.fixedSensitivity()
setTargetRotation(fixedSensitivityRotation)
lockRotation = fixedSensitivityRotation
// val fixedSensitivityRotation = placeRotation.rotation.fixedSensitivity()
// setTargetRotation(fixedSensitivityRotation)
// lockRotation = fixedSensitivityRotation
//}
placeInfo = placeRotation.placeInfo
return true
Expand Down

0 comments on commit 3a2b184

Please sign in to comment.