diff options
author | KHobbits <rob@khobbits.co.uk> | 2012-04-07 03:07:07 +0100 |
---|---|---|
committer | KHobbits <rob@khobbits.co.uk> | 2012-04-07 03:07:07 +0100 |
commit | 7a6368a98003799cfa50e514b4f6cca6b80ca6c5 (patch) | |
tree | 763929a825a031033a6ceebeed51e1a08e72693c | |
parent | 9e866817222fd23c2ad267a936cc50efd32088d7 (diff) | |
download | Essentials-7a6368a98003799cfa50e514b4f6cca6b80ca6c5.tar Essentials-7a6368a98003799cfa50e514b4f6cca6b80ca6c5.tar.gz Essentials-7a6368a98003799cfa50e514b4f6cca6b80ca6c5.tar.lz Essentials-7a6368a98003799cfa50e514b4f6cca6b80ca6c5.tar.xz Essentials-7a6368a98003799cfa50e514b4f6cca6b80ca6c5.zip |
Console should be able to kick everyone.
-rw-r--r-- | Essentials/src/com/earth2me/essentials/commands/Commandkick.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandkick.java b/Essentials/src/com/earth2me/essentials/commands/Commandkick.java index ae5db48fb..3e2e08b50 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandkick.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandkick.java @@ -24,7 +24,7 @@ public class Commandkick extends EssentialsCommand } final User user = getPlayer(server, args, 0); - if (user.isAuthorized("essentials.kick.exempt")) + if (sender instanceof Player && user.isAuthorized("essentials.kick.exempt")) { throw new Exception(_("kickExempt")); } |