From c4a3bd1cbf211207aa9b80be4fe0b6f8026dd5a5 Mon Sep 17 00:00:00 2001 From: LAX1DUDE Date: Thu, 21 Jul 2022 16:42:54 -0700 Subject: [PATCH] fix volume sliders again --- src/main/java/net/minecraft/src/GameSettings.java | 1 - src/main/java/net/minecraft/src/SoundManager.java | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/minecraft/src/GameSettings.java b/src/main/java/net/minecraft/src/GameSettings.java index b60b5da..b262fd7 100644 --- a/src/main/java/net/minecraft/src/GameSettings.java +++ b/src/main/java/net/minecraft/src/GameSettings.java @@ -548,7 +548,6 @@ public class GameSettings { } KeyBinding.resetKeyBindingArrayAndHash(); - mc.sndManager.onSoundOptionsChanged(); } } diff --git a/src/main/java/net/minecraft/src/SoundManager.java b/src/main/java/net/minecraft/src/SoundManager.java index 21ab3ac..74d3421 100644 --- a/src/main/java/net/minecraft/src/SoundManager.java +++ b/src/main/java/net/minecraft/src/SoundManager.java @@ -56,6 +56,7 @@ public class SoundManager { */ public void loadSoundSettings(GameSettings par1GameSettings) { this.options = par1GameSettings; + EaglerAdapter.setMasterVolume(options.soundVolume); if(this.sounddefinitions == null) { this.sounddefinitions = new HashMap(); try {