Add changelog

This commit is contained in:
Alexander Söderberg 2021-07-07 19:21:56 +01:00 committed by Jason
parent 7bb5e63dc7
commit 5934c2fd3b
6 changed files with 20 additions and 1 deletions

View file

@ -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;

View file

@ -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> {