Fix: Unmute players, even if they have essentials.mute.exempt permission

This commit is contained in:
snowleo 2011-07-20 17:10:55 +02:00
parent 0483635a5c
commit cc29ebbbc9

View File

@ -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;