mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-14 13:13:24 +00:00
Fix: Unmute players, even if they have essentials.mute.exempt permission
This commit is contained in:
parent
0483635a5c
commit
cc29ebbbc9
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue