mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-22 17:27:38 +00:00
Add basic angle mask suggestions
Mask suggestions are a bit broken in general so this doesn't change much
This commit is contained in:
parent
7198c03cd3
commit
11e762f07a
@ -18,6 +18,9 @@ public class AngleMaskParser extends RichParser<Mask> {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected Stream<String> getSuggestions(String argumentInput, int index) {
|
protected Stream<String> getSuggestions(String argumentInput, int index) {
|
||||||
|
if (index == 0 || index == 1) {
|
||||||
|
return suggestPositiveDoubles(argumentInput).flatMap(s -> Stream.of(s, s + "d"));
|
||||||
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user