From bdf67db6ed0d516d0a3104963ffa507d2d7b08c0 Mon Sep 17 00:00:00 2001 From: Iaccidentally Date: Fri, 10 Aug 2012 07:17:05 -0400 Subject: [PATCH] fix name length check in /kill --- .../src/com/earth2me/essentials/commands/Commandkill.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandkill.java b/Essentials/src/com/earth2me/essentials/commands/Commandkill.java index a7fdd338f..a2e58227b 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandkill.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandkill.java @@ -23,7 +23,7 @@ public class Commandkill extends EssentialsCommand } //TODO: TL this - if (args[0].trim().length() < 3) + if (args[0].trim().length() < 2) { throw new NotEnoughArgumentsException("You need to specify a player to kill."); }