mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-23 14:53:26 +02:00
Merge branch '2.9' of github.com:essentials/Essentials into 2.9
This commit is contained in:
@@ -21,6 +21,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]))
|
||||
{
|
||||
p.setFireTicks(Integer.parseInt(args[1]) * 20);
|
||||
|
Reference in New Issue
Block a user