Allow command managers to provide default command meta instances

This commit is contained in:
Alexander Söderberg 2020-09-10 13:19:50 +02:00
parent 90d37f1df8
commit 90aba634a7
No known key found for this signature in database
GPG key ID: C0207FF7EA146678
5 changed files with 51 additions and 7 deletions

View file

@ -138,4 +138,10 @@ public class JLineCommandManager extends CommandManager<JLineCommandSender, Simp
System.out.printf("Trying to complete '%s'\n", line);
}
@Nonnull
@Override
public SimpleCommandMeta createDefaultCommandMeta() {
return SimpleCommandMeta.empty();
}
}