Add changelog
This commit is contained in:
parent
7bb5e63dc7
commit
5934c2fd3b
6 changed files with 20 additions and 1 deletions
|
|
@ -914,6 +914,7 @@ public abstract class CommandManager<C> {
|
|||
* Returns the command execution coordinator used in this manager
|
||||
*
|
||||
* @return Command execution coordinator
|
||||
* @since 1.6.0
|
||||
*/
|
||||
public @NonNull CommandExecutionCoordinator<C> commandExecutionCoordinator() {
|
||||
return this.commandExecutionCoordinator;
|
||||
|
|
|
|||
|
|
@ -52,6 +52,7 @@ public interface CommandExecutionHandler<C> {
|
|||
*
|
||||
* @param commandContext Command context
|
||||
* @return future that completes when the command has finished execution
|
||||
* @since 1.6.0
|
||||
*/
|
||||
default CompletableFuture<@Nullable Object> executeFuture(@NonNull CommandContext<C> commandContext) {
|
||||
final CompletableFuture<Object> future = new CompletableFuture<>();
|
||||
|
|
@ -83,6 +84,7 @@ public interface CommandExecutionHandler<C> {
|
|||
* by a command sender
|
||||
*
|
||||
* @param <C> Command sender type
|
||||
* @since 1.6.0
|
||||
*/
|
||||
@FunctionalInterface
|
||||
interface FutureCommandExecutionHandler<C> extends CommandExecutionHandler<C> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue