Public method in PaperBrigadierCommand
This commit is contained in:
parent
ecd8b3b0c9
commit
ba496b0968
@ -442,7 +442,7 @@ public abstract class PaperBrigadierCommand extends BrigadierCommand<BukkitBriga
|
|||||||
* @param suggestions the suggestions to wrap.
|
* @param suggestions the suggestions to wrap.
|
||||||
* @return a {@link SuggestionProvider} generating the suggestions from the provided {@link SuggestionsSupplier}.
|
* @return a {@link SuggestionProvider} generating the suggestions from the provided {@link SuggestionsSupplier}.
|
||||||
*/
|
*/
|
||||||
protected SuggestionProvider<BukkitBrigadierCommandSource> wrapSuggestions(SuggestionsSupplier<CommandSender> suggestions) {
|
public SuggestionProvider<BukkitBrigadierCommandSource> wrapSuggestions(SuggestionsSupplier<CommandSender> suggestions) {
|
||||||
return wrapSuggestions(suggestions, PaperBrigadierCommand::getCommandSender);
|
return wrapSuggestions(suggestions, PaperBrigadierCommand::getCommandSender);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user