3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-04 18:40:06 +01:00

Add basic angle mask suggestions

Mask suggestions are a bit broken in general so this doesn't change much
Dieser Commit ist enthalten in:
Hannes Greule 2020-07-13 11:15:01 +02:00
Ursprung 7198c03cd3
Commit 11e762f07a

Datei anzeigen

@ -18,6 +18,9 @@ public class AngleMaskParser extends RichParser<Mask> {
@Override
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;
}