mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-15 11:04:29 +02:00
Fix: Unmute players, even if they have essentials.mute.exempt permission
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user