From 53504cc765b374ef862f22165c63775d73c38b69 Mon Sep 17 00:00:00 2001 From: trimbe Date: Mon, 11 Feb 2019 20:57:57 -0500 Subject: [PATCH] metronome: play sounds while volume is muted --- .../runelite/client/plugins/metronome/MetronomePlugin.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/metronome/MetronomePlugin.java b/runelite-client/src/main/java/net/runelite/client/plugins/metronome/MetronomePlugin.java index 9a0b709aab..7d7416c7f0 100644 --- a/runelite-client/src/main/java/net/runelite/client/plugins/metronome/MetronomePlugin.java +++ b/runelite-client/src/main/java/net/runelite/client/plugins/metronome/MetronomePlugin.java @@ -27,6 +27,7 @@ package net.runelite.client.plugins.metronome; import com.google.inject.Provides; import javax.inject.Inject; +import net.runelite.api.SoundEffectVolume; import net.runelite.api.Client; import net.runelite.api.SoundEffectID; import net.runelite.api.events.GameTick; @@ -70,11 +71,11 @@ public class MetronomePlugin extends Plugin { if (config.enableTock() && shouldTock) { - client.playSoundEffect(SoundEffectID.GE_DECREMENT_PLOP); + client.playSoundEffect(SoundEffectID.GE_DECREMENT_PLOP, SoundEffectVolume.MEDIUM_HIGH); } else { - client.playSoundEffect(SoundEffectID.GE_INCREMENT_PLOP); + client.playSoundEffect(SoundEffectID.GE_INCREMENT_PLOP, SoundEffectVolume.MEDIUM_HIGH); } shouldTock = !shouldTock; }