Allow command managers to provide default command meta instances
This commit is contained in:
parent
90d37f1df8
commit
90aba634a7
5 changed files with 51 additions and 7 deletions
|
|
@ -63,4 +63,10 @@ public class BukkitCommandManager extends CommandManager<BukkitCommandSender, Bu
|
|||
return this.owningPlugin;
|
||||
}
|
||||
|
||||
@Nonnull
|
||||
@Override
|
||||
public BukkitCommandMeta createDefaultCommandMeta() {
|
||||
return BukkitCommandMetaBuilder.builder().withDescription("").build();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue