mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-22 22:34:43 +02:00
fix name length check in /kill
This commit is contained in:
@@ -23,7 +23,7 @@ public class Commandkill extends EssentialsCommand
|
|||||||
}
|
}
|
||||||
|
|
||||||
//TODO: TL this
|
//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.");
|
throw new NotEnoughArgumentsException("You need to specify a player to kill.");
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user