diff options
author | inglettronald <inglettronald@gmail.com> | 2023-05-25 18:04:12 -0500 |
---|---|---|
committer | inglettronald <inglettronald@gmail.com> | 2023-05-25 18:04:12 -0500 |
commit | cf95db1da4bbbf6a08d2ac45241bf5f24e939a39 (patch) | |
tree | 8e700a510c42dc655c10eedea9d3e9c22d341fcd | |
parent | 9be0ba12f43717aef1e3892aebbe9bdef75dd509 (diff) | |
download | DulkirMod-cf95db1da4bbbf6a08d2ac45241bf5f24e939a39.tar.gz DulkirMod-cf95db1da4bbbf6a08d2ac45241bf5f24e939a39.tar.bz2 DulkirMod-cf95db1da4bbbf6a08d2ac45241bf5f24e939a39.zip |
hopefully better sound override
-rw-r--r-- | src/main/kotlin/dulkirmod/features/dungeons/SecretSounds.kt | 2 |
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() |