Skip to content

Commit

Permalink
fix(legacy): Library used for RotationRecorder not being found on pro…
Browse files Browse the repository at this point in the history
…duction environment. (CCBlueX#4059)
  • Loading branch information
mems01 authored Oct 4, 2024
1 parent 8403166 commit 8975db4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,7 @@ dependencies {
include "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4"

include fileTree(include: ["*.jar"], dir: "libs")
implementation("org.knowm.xchart:xchart:3.8.0")

include("org.knowm.xchart:xchart:3.8.0")
}

shadowJar {
Expand Down
2 changes: 0 additions & 2 deletions src/main/java/net/ccbluex/liquidbounce/utils/RotationUtils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ package net.ccbluex.liquidbounce.utils
import net.ccbluex.liquidbounce.event.*
import net.ccbluex.liquidbounce.features.module.modules.combat.FastBow
import net.ccbluex.liquidbounce.features.module.modules.render.Rotations
import net.ccbluex.liquidbounce.script.api.global.Chat
import net.ccbluex.liquidbounce.utils.RaycastUtils.raycastEntity
import net.ccbluex.liquidbounce.utils.extensions.*
import net.ccbluex.liquidbounce.utils.inventory.InventoryUtils
Expand Down Expand Up @@ -743,7 +742,6 @@ object RotationUtils : MinecraftInstance(), Listenable {
*/
@EventTarget(priority = -1)
fun onRotationUpdate(event: RotationUpdateEvent) {
Chat.print("${rotationDifference(serverRotation, lastRotations[1])}, ${rotationDifference(lastRotations[1], lastRotations[2])}")
rotationData?.let {
// Was the rotation update immediate? Allow updates the next tick.
if (it.immediate) {
Expand Down

0 comments on commit 8975db4

Please sign in to comment.