This repository was archived by the owner on Feb 9, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ public final class DisableAudioEvent extends Event {
12
12
private static final int areaSoundEffectVolumeConfig = 872 ;
13
13
14
14
private final CachedWidget soundSettingsWidget = new CachedWidget (new WidgetActionFilter ("Audio" ));
15
- private final CachedWidget musicVolumeWidget = new CachedWidget (new WidgetActionFilter ( "Adjust Music Volume " ));
15
+ private final CachedWidget audioSettingsWidget = new CachedWidget (new WidgetMessageFilter ( "Audio Settings " ));
16
16
private final CachedWidget soundEffectVolumeWidget = new CachedWidget (new WidgetActionFilter ("Adjust Sound Effect Volume" ));
17
17
private final CachedWidget areaSoundEffectVolumeWidget = new CachedWidget (new WidgetActionFilter ("Adjust Area Sound Volume" ));
18
18
@@ -24,7 +24,7 @@ public final int execute() throws InterruptedException {
24
24
setFailed ();
25
25
} else if (getTabs ().getOpen () != Tab .SETTINGS ) {
26
26
getTabs ().open (Tab .SETTINGS );
27
- } else if (!musicVolumeWidget .isVisible (getWidgets ())) {
27
+ } else if (!audioSettingsWidget .isVisible (getWidgets ())) {
28
28
soundSettingsWidget .interact (getWidgets ());
29
29
} else if (!isVolumeDisabled (musicVolumeConfig )) {
30
30
musicVolumeWidget .interact (getWidgets ());
@@ -39,4 +39,4 @@ public final int execute() throws InterruptedException {
39
39
private boolean isVolumeDisabled (final int config ) {
40
40
return getConfigs ().get (config ) == 4 ;
41
41
}
42
- }
42
+ }
You can’t perform that action at this time.
0 commit comments