mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-07-16 02:34:21 +00:00
fix name length check in /kill
This commit is contained in:
parent
3e203d193c
commit
bdf67db6ed
1 changed files with 1 additions and 1 deletions
|
@ -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.");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue