geforkt von Mirrors/Velocity
Fix Checkstyle error
Dieser Commit ist enthalten in:
Ursprung
725fc2e16c
Commit
bcab3be2e2
@ -35,14 +35,14 @@ public interface RawCommand extends Command {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
default CompletableFuture<List<String>> suggestAsync(CommandSource source,
|
default List<String> suggest(CommandSource source, String @NonNull [] currentArgs) {
|
||||||
String @NonNull [] currentArgs) {
|
return suggestAsync(source, currentArgs).join();
|
||||||
return suggest(source, String.join(" ", currentArgs));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
default List<String> suggest(CommandSource source, String @NonNull [] currentArgs) {
|
default CompletableFuture<List<String>> suggestAsync(CommandSource source,
|
||||||
return suggestAsync(source, currentArgs).join();
|
String @NonNull [] currentArgs) {
|
||||||
|
return suggest(source, String.join(" ", currentArgs));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren