Skip to content

Commit c626d59

Browse files
authored
NEXTGEN: Fixes (CCBlueX#1273)
* fixed verus speed increasing your timer speed after disabling module * removed lithum, cause it dooesn't and won't be updated to 1.20.1 * changed sodium version
1 parent 3463a5e commit c626d59

File tree

3 files changed

+12
-8
lines changed

3 files changed

+12
-8
lines changed

build.gradle

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,14 @@ repositories {
5757
name = 'TerraformersMC'
5858
url = 'https://maven.terraformersmc.com/'
5959
}
60+
maven {
61+
name = "modrinth"
62+
url = "https://api.modrinth.com/maven"
63+
64+
content {
65+
includeGroup "maven.modrinth"
66+
}
67+
}
6068
maven { url = 'https://repo.viaversion.com/' }
6169
}
6270

@@ -77,9 +85,7 @@ dependencies {
7785
// Recommended mods (on IDE)
7886
modRuntimeOnly "com.terraformersmc:modmenu:${project.mod_menu_version}"
7987

80-
modRuntimeOnly "com.github.CaffeineMC:sodium-fabric:${project.sodium_version}"
81-
modRuntimeOnly "com.github.CaffeineMC:lithium-fabric:${project.lithium_version}"
82-
// modRuntimeOnly "com.github.CaffeineMC:phosphor-fabric:${project.phosphor_version}"
88+
modCompileOnly("maven.modrinth:sodium:${project.sodium_version}") { transitive = false }
8389

8490
// fix nullable imports
8591
implementation 'com.google.code.findbugs:jsr305:3.0.2'

gradle.properties

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,4 @@ kotlin_version=1.8.21
3838
fabric_kotlin_version=1.9.4+kotlin.1.8.21
3939
# Recommended mods
4040
mod_menu_version=7.0.1
41-
sodium_version=mc1.20-0.4.10
42-
lithium_version=mc1.20.1-0.11.2
43-
phosphor_version=mc.19.x-0.8.1
41+
sodium_version=mc1.20-0.5.2

src/main/kotlin/net/ccbluex/liquidbounce/features/module/modules/movement/ModuleSpeed.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,10 @@ object ModuleSpeed : Module("Speed", Category.MOVEMENT) {
7676
}
7777

7878
val timerRepeatable = repeatable {
79-
mc.timer.timerSpeed = 1f
80-
wait { 100 }
8179
mc.timer.timerSpeed = 2f
8280
wait { 1 }
81+
mc.timer.timerSpeed = 1f
82+
wait { 100 }
8383
}
8484

8585
override fun disable() {

0 commit comments

Comments
 (0)