We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have an argument with several parts and I want to make the second part optional
For example, I will make such a logger:
override fun suggest( invocation: Invocation<CommandSender>, argument: Argument<String>, context: SuggestionContext, ): SuggestionResult { println(context.current.multilevelList()) return SuggestionResult.empty() }
If I specify Range(2, 2), then the suggestions will work correctly, but the second argument will not be optional
override fun getRange(argument: Argument<String>): Range { return Range(2, 2) }
If I specify Range(1, 2), then the suggestions will ignore the second argument
override fun getRange(argument: Argument<String>): Range { return Range(1, 2) }
The text was updated successfully, but these errors were encountered:
GH-365
Sorry, something went wrong.
Thanks for your bug report. It will be fixed in the next 3.3.2 release. ❤️
GH-363 Refactor and fix multiple suggestion resolving. (#365)
fc9d609
Successfully merging a pull request may close this issue.
I have an argument with several parts and I want to make the second part optional
For example, I will make such a logger:
If I specify Range(2, 2), then the suggestions will work correctly, but the second argument will not be optional
If I specify Range(1, 2), then the suggestions will ignore the second argument
The text was updated successfully, but these errors were encountered: