3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-12-25 02:20:07 +01:00

Swap which getSuggestions is primary

Dieser Commit ist enthalten in:
Zeranny 2024-03-15 15:20:39 +00:00
Ursprung 2b0b604fff
Commit 5c257f60ea

Datei anzeigen

@ -124,7 +124,7 @@ public abstract class RichParser<E> extends InputParser<E> implements AliasedPar
* @return a stream of suggestions matching the given input for the argument at the given index.
*/
protected Stream<String> getSuggestions(String argumentInput, int index) {
return Stream.empty();
return getSuggestions(argumentInput, index, new ParserContext());
}
/**
@ -136,7 +136,7 @@ public abstract class RichParser<E> extends InputParser<E> implements AliasedPar
* @return a stream of suggestions matching the given input for the argument at the given index.
*/
protected Stream<String> getSuggestions(String argumentInput, int index, ParserContext context) {
return getSuggestions(argumentInput, index);
return Stream.empty();
}
/**