Skip to content
This repository was archived by the owner on May 17, 2025. It is now read-only.

Commit 217a305

Browse files
committed
fixes
1 parent 90488fa commit 217a305

5 files changed

Lines changed: 15 additions & 7 deletions

File tree

app/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ android {
1818
//noinspection EditedTargetSdkVersion
1919
targetSdk = 35
2020
versionCode = 1
21-
versionName = "2.6.5"
21+
versionName = "2.6.6"
2222

2323
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
2424

app/src/main/java/com/mucheng/mucute/client/game/TranslationManager.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ object TranslationManager {
8484
put("mining_fatigue", "Mining Fatigue")
8585
put("world_state", "World State")
8686
put("esp", "ESP")
87+
put("baritone", "Baritone")
88+
put("replay_mod", "ReplayMod")
8789

8890
// Below for module options
8991
put("times", "Times")
@@ -177,7 +179,7 @@ object TranslationManager {
177179
put("tracer_center", "Tracer from Center")
178180
put("interval", "Recording Interval")
179181
put("auto_save", "Auto Save")
180-
put("speed", "Playback Speed")
182+
put("playback_speed", "Playback Speed")
181183
put("record_inputs", "Record Inputs")
182184
put("smooth", "Smooth Playback")
183185
put("completion_distance", "Completion Distance")

app/src/main/java/com/mucheng/mucute/client/game/module/misc/ReplayModule.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ import org.cloudburstmc.protocol.bedrock.data.PlayerAuthInputData
1212
import java.io.File
1313
import kotlin.concurrent.thread
1414

15-
class ReplayModule : Module("replay", ModuleCategory.Misc) {
15+
class ReplayModule : Module("replay_mod", ModuleCategory.Misc) {
1616
private val recordingInterval by intValue("interval", 50, 20..200)
1717
private val autoSave by boolValue("auto_save", true)
18-
private val playbackSpeed by floatValue("speed", 1.0f, 0.1f..5.0f)
18+
private val playbackSpeed by floatValue("playback_speed", 1.0f, 0.1f..5.0f)
1919
private val recordInputs by boolValue("record_inputs", true)
2020
private val smoothPlayback by boolValue("smooth", true)
2121

app/src/main/java/com/mucheng/mucute/client/game/module/particle/BubbleParticleModule.kt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,19 @@ class BubbleParticleModule : Module("bubble_particle", ModuleCategory.Particle)
1919
private val offsetRadius by floatValue("offset_radius", 1.0f, 0.1f..5.0f)
2020

2121
private var lastParticleTime = 0L
22+
private var warningShown = false
2223

2324
override fun onEnabled() {
2425
super.onEnabled()
25-
sendMessage("§bThis particle effect only works when you are underwater!")
26+
if (isSessionCreated && !warningShown) {
27+
sendMessage("§bThis particle effect only works when you are underwater!")
28+
warningShown = true
29+
}
2630
}
2731

2832
private fun sendMessage(msg: String) {
33+
if (!isSessionCreated) return
34+
2935
val textPacket = TextPacket().apply {
3036
type = TextPacket.Type.RAW
3137
isNeedsTranslation = false

gradle/libs.versions.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[versions]
2-
agp = "8.9.1"
2+
agp = "8.9.2"
33
kotlin = "2.1.10"
44
coreKtx = "1.16.0"
55
junit = "4.13.2"
@@ -8,7 +8,7 @@ espressoCore = "3.6.1"
88
kotlinxSerializationJsonJvm = "1.8.1"
99
lifecycleRuntimeKtx = "2.8.7"
1010
activityCompose = "1.10.1"
11-
composeBom = "2025.04.00"
11+
composeBom = "2025.04.01"
1212
materialIconsExtended = "1.7.8"
1313
navigationCompose = "2.8.9"
1414

0 commit comments

Comments
 (0)