mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-01-13 11:41: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);
|
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"));
|
sender.sendMessage(Util.i18n("muteExempt"));
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user