.
All checks were successful
Build and Deploy artifact / build (push) Successful in 1m29s

This commit is contained in:
kento2 2026-08-10 02:35:19 +02:00
parent f3a1fb41df
commit 79d70c27da
3 changed files with 3 additions and 3 deletions

View file

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

View file

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

View file

@ -1,2 +1,2 @@
GROUP = "de.kentoj.scrow" GROUP = "de.kentoj.scrow"
VERSION = "0.40-SNAPSHOT" VERSION = "0.41-SNAPSHOT"