Skip to content

Commit 4869fd3

Browse files
committed
Fix bug with muted alert
1 parent 3733bfa commit 4869fd3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/net/clementraynaud/skoice/tasks/UpdateNetworksTask.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ private void run() {
108108
if (voiceState != null) {
109109
if (this.plugin.getConfigYamlFile().getBoolean(ConfigField.MUTED_ALERT.toString())
110110
&& voiceState.isMuted()
111+
&& !linkedPlayer.isInMainVoiceChannel()
111112
&& !UpdateVoiceStateTask.getMutedUsers().contains(member.getId())) {
112113
linkedPlayer.addActionBarAlert(ActionBarAlert.MUTED);
113114
}

0 commit comments

Comments
 (0)