mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-07-27 16:02:32 +00:00
fix burn matching all players
This commit is contained in:
parent
b1cfc8a8ed
commit
0fb5fc6bcc
1 changed files with 6 additions and 0 deletions
|
@ -20,6 +20,12 @@ public class Commandburn extends EssentialsCommand
|
|||
{
|
||||
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]))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue