From 578576e3171d4a3e9d1189ee95982fd575c37d8c Mon Sep 17 00:00:00 2001 From: Necrodoom Date: Mon, 25 Mar 2013 16:11:48 +0200 Subject: [Fix] Sudo allowed on vanished players. --- Essentials/src/com/earth2me/essentials/commands/Commandsudo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3