From cf95db1da4bbbf6a08d2ac45241bf5f24e939a39 Mon Sep 17 00:00:00 2001 From: inglettronald Date: Thu, 25 May 2023 18:04:12 -0500 Subject: hopefully better sound override --- src/main/kotlin/dulkirmod/features/dungeons/SecretSounds.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/kotlin') 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() -- cgit