mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-19 13:01:20 +02:00
fix burn matching all players
This commit is contained in:
@@ -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]))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user