mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-14 21:22:09 +00:00
Merge branch '2.9' of github.com:essentials/Essentials into 2.9
This commit is contained in:
commit
e919897f1b
1 changed files with 6 additions and 0 deletions
|
@ -20,6 +20,12 @@ public class Commandburn extends EssentialsCommand
|
||||||
{
|
{
|
||||||
throw new NotEnoughArgumentsException();
|
throw new NotEnoughArgumentsException();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//TODO: TL this
|
||||||
|
if (args[0].trim().length() < 2)
|
||||||
|
{
|
||||||
|
throw new NotEnoughArgumentsException("You need to specify a player to kill.");
|
||||||
|
}
|
||||||
|
|
||||||
for (Player p : server.matchPlayer(args[0]))
|
for (Player p : server.matchPlayer(args[0]))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue