Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-26 02:50:06 +01:00
Swap which getSuggestions is primary
Dieser Commit ist enthalten in:
Ursprung
2b0b604fff
Commit
5c257f60ea
@ -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.
|
* @return a stream of suggestions matching the given input for the argument at the given index.
|
||||||
*/
|
*/
|
||||||
protected Stream<String> getSuggestions(String argumentInput, int 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.
|
* @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) {
|
protected Stream<String> getSuggestions(String argumentInput, int index, ParserContext context) {
|
||||||
return getSuggestions(argumentInput, index);
|
return Stream.empty();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren