mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-02 06:28:54 +00:00
Remove use of deprecated cloud method
This commit is contained in:
1 parent
ce99584306
commit
11f95f9d0c
1 file changed
+1
-1
@@ -94,7 +94,7 @@ public final class HelpCommand extends CarbonCommand {
|
||||
}
|
||||
|
||||
private List<String> suggestQueries(final CommandContext<Commander> ctx, final String input) {
|
||||
final var topic = (CommandHelpHandler.IndexHelpTopic<Commander>) this.commandManager.getCommandHelpHandler().queryHelp(ctx.getSender(), "");
|
||||
final var topic = (CommandHelpHandler.IndexHelpTopic<Commander>) this.commandManager.createCommandHelpHandler().queryHelp(ctx.getSender(), "");
|
||||
return topic.getEntries().stream().map(CommandHelpHandler.VerboseHelpEntry::getSyntaxString).toList();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user