aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/Danker/features
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/me/Danker/features')
-rw-r--r--src/main/java/me/Danker/features/CustomMusic.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/me/Danker/features/CustomMusic.java b/src/main/java/me/Danker/features/CustomMusic.java
index 3c411d8..ee0a2cc 100644
--- a/src/main/java/me/Danker/features/CustomMusic.java
+++ b/src/main/java/me/Danker/features/CustomMusic.java
@@ -25,6 +25,7 @@ public class CustomMusic {
static boolean prevInDungeonBossRoom = false;
static boolean inDungeonBossRoom = false;
public static Clip dungeonboss;
+ public static float dungeonbossDecibels;
@SubscribeEvent
public void onWorldChange(WorldEvent.Load event) {
@@ -98,7 +99,7 @@ public class CustomMusic {
dungeonboss.open(ais);
FloatControl volume = (FloatControl) dungeonboss.getControl(FloatControl.Type.MASTER_GAIN);
- volume.setValue(-20F);
+ volume.setValue(dungeonbossDecibels);
}
}