diff options
author | Necrodoom <doomed.war@gmail.com> | 2013-03-25 16:11:48 +0200 |
---|---|---|
committer | KHobbits <rob@khobbits.co.uk> | 2013-03-29 03:10:45 +0000 |
commit | 578576e3171d4a3e9d1189ee95982fd575c37d8c (patch) | |
tree | b367a7d71f54c312bc47e16b1c31713b037f5477 | |
parent | 98aa303ff5c54850bc659d15550a2c3055208b45 (diff) | |
download | Essentials-578576e3171d4a3e9d1189ee95982fd575c37d8c.tar Essentials-578576e3171d4a3e9d1189ee95982fd575c37d8c.tar.gz Essentials-578576e3171d4a3e9d1189ee95982fd575c37d8c.tar.lz Essentials-578576e3171d4a3e9d1189ee95982fd575c37d8c.tar.xz Essentials-578576e3171d4a3e9d1189ee95982fd575c37d8c.zip |
[Fix] Sudo allowed on vanished players.
-rw-r--r-- | Essentials/src/com/earth2me/essentials/commands/Commandsudo.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandsudo.java b/Essentials/src/com/earth2me/essentials/commands/Commandsudo.java index b0df89a67..2d91657d6 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandsudo.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandsudo.java @@ -27,7 +27,7 @@ public class Commandsudo extends EssentialsCommand throw new NotEnoughArgumentsException(); } - final User user = getPlayer(server, args, 0); + final User user = getPlayer(server, args, 0, true, false); if(args[1].toLowerCase(Locale.ENGLISH).startsWith("c:")) { if (user.isAuthorized("essentials.sudo.exempt") && sender instanceof Player) |