diff options
Diffstat (limited to 'Essentials/src/com/earth2me/essentials/commands/Commandmute.java')
-rw-r--r-- | Essentials/src/com/earth2me/essentials/commands/Commandmute.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandmute.java b/Essentials/src/com/earth2me/essentials/commands/Commandmute.java index 201768e8c..5d7895d55 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandmute.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandmute.java @@ -43,7 +43,7 @@ public class Commandmute extends EssentialsCommand } else { - if (user.isAuthorized("essentials.mute.exempt") && sender instanceof Player) + if (user.isAuthorized("essentials.mute.exempt") && sender.isPlayer()) { throw new Exception(_("muteExempt")); } |