aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/kotlin/dulkirmod/features/dungeons/SecretSounds.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/dulkirmod/features/dungeons/SecretSounds.kt b/src/main/kotlin/dulkirmod/features/dungeons/SecretSounds.kt
index f384658..1bbc040 100644
--- a/src/main/kotlin/dulkirmod/features/dungeons/SecretSounds.kt
+++ b/src/main/kotlin/dulkirmod/features/dungeons/SecretSounds.kt
@@ -83,7 +83,7 @@ object SecretSounds {
fun playSound() {
if (System.currentTimeMillis() - lastSound > 50) { // don't kill ears
- val prevNote = mc.gameSettings.getSoundLevel(SoundCategory.MASTER)
+ val prevNote = mc.gameSettings.getSoundLevel(SoundCategory.RECORDS)
mc.gameSettings.setSoundLevel(SoundCategory.RECORDS, 1f)
mc.thePlayer.playSound("note.pling", 1f * DulkirConfig.secretSoundVolume, 1f)
lastSound = System.currentTimeMillis()