This commit is contained in:
parent
f3a1fb41df
commit
79d70c27da
3 changed files with 3 additions and 3 deletions
|
|
@ -6,5 +6,5 @@ import java.util.concurrent.CompletableFuture;
|
||||||
|
|
||||||
public interface CommandExecutor<T> {
|
public interface CommandExecutor<T> {
|
||||||
|
|
||||||
CompletableFuture<Void> execute(MessageStyle style, CommandContext<T> ctx);
|
CompletableFuture<?> execute(MessageStyle style, CommandContext<T> ctx);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ public interface SyncCommandExecutor<T> extends CommandExecutor<T> {
|
||||||
|
|
||||||
void executeSync(MessageStyle style, CommandContext<T> ctx);
|
void executeSync(MessageStyle style, CommandContext<T> ctx);
|
||||||
|
|
||||||
default CompletableFuture<Void> execute(MessageStyle style, CommandContext<T> ctx) {
|
default CompletableFuture<?> execute(MessageStyle style, CommandContext<T> ctx) {
|
||||||
this.executeSync(style, ctx);
|
this.executeSync(style, ctx);
|
||||||
return CompletableFuture.completedFuture(null);
|
return CompletableFuture.completedFuture(null);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
2
defs.bzl
2
defs.bzl
|
|
@ -1,2 +1,2 @@
|
||||||
GROUP = "de.kentoj.scrow"
|
GROUP = "de.kentoj.scrow"
|
||||||
VERSION = "0.40-SNAPSHOT"
|
VERSION = "0.41-SNAPSHOT"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue