Command with 0 delay should be run immediately

This commit is contained in:
DNx
2018-07-07 23:39:59 +07:00
parent 2e5fdb4ca0
commit b741c0da14
2 changed files with 17 additions and 12 deletions
@@ -25,8 +25,7 @@ public class Command {
* @param executor the executor of the command
*/
public Command(String command, Executor executor) {
this.command = command;
this.executor = executor;
this(command, executor, 0);
}
/**