diff options
author | bowser0000 <bowser0000@gmail.com> | 2021-03-28 17:46:45 -0400 |
---|---|---|
committer | bowser0000 <bowser0000@gmail.com> | 2021-03-28 17:46:45 -0400 |
commit | 57e5469f651610a4f07bf8e5266b789d7ca1fe34 (patch) | |
tree | 269182a8c643b6ce197e12c35b8253b6eb9bb019 /src/main/java/me/Danker/handlers/ConfigHandler.java | |
parent | 786efa0ea48daffb075d2d6482a677571e136a1b (diff) | |
download | SkyblockMod-57e5469f651610a4f07bf8e5266b789d7ca1fe34.tar.gz SkyblockMod-57e5469f651610a4f07bf8e5266b789d7ca1fe34.tar.bz2 SkyblockMod-57e5469f651610a4f07bf8e5266b789d7ca1fe34.zip |
Change /dsmmusic volume to percentage from decibels
Also fix custom music not cancelling note block music
Diffstat (limited to 'src/main/java/me/Danker/handlers/ConfigHandler.java')
-rw-r--r-- | src/main/java/me/Danker/handlers/ConfigHandler.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/me/Danker/handlers/ConfigHandler.java b/src/main/java/me/Danker/handlers/ConfigHandler.java index 6d474d4..1551a3e 100644 --- a/src/main/java/me/Danker/handlers/ConfigHandler.java +++ b/src/main/java/me/Danker/handlers/ConfigHandler.java @@ -277,9 +277,9 @@ public class ConfigHandler { ToggleCommand.bloodRoomMusic = initBoolean("toggles", "BloodRoomMusic", false); ToggleCommand.dungeonMusic = initBoolean("toggles", "DungeonMusic", false); // Music Volume - CustomMusic.dungeonbossDecibels = (float) initInt("music", "DungeonBossDecibels", -20); - CustomMusic.bloodroomDecibels = (float) initInt("music", "BloodRoomDecibels", -20); - CustomMusic.dungeonDecibels = (float) initInt("music", "DungeonDecibels", -20); + CustomMusic.dungeonbossVolume = initInt("music", "DungeonBossVolume", 50); + CustomMusic.bloodroomVolume = initInt("music", "BloodRoomVolume", 50); + CustomMusic.dungeonVolume = initInt("music", "DungeonVolume", 50); // API if (!hasKey("api", "APIKey")) writeStringConfig("api", "APIKey", ""); |