1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-26 16:04:27 +02:00

fix name length check in /kill

This commit is contained in:
Iaccidentally
2012-08-10 07:17:05 -04:00
parent 52a8c95ab4
commit ff6bc480e8

View File

@@ -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.");
}