mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-12-25 18:48:24 +01:00
Fix: Unmute players, even if they have essentials.mute.exempt permission
This commit is contained in:
parent
0483635a5c
commit
cc29ebbbc9
@ -22,7 +22,7 @@ public class Commandmute extends EssentialsCommand
|
||||
}
|
||||
|
||||
User p = getPlayer(server, args, 0, true);
|
||||
if (p.isAuthorized("essentials.mute.exempt"))
|
||||
if (!p.isMuted() && p.isAuthorized("essentials.mute.exempt"))
|
||||
{
|
||||
sender.sendMessage(Util.i18n("muteExempt"));
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user