mirror of
https://github.com/boy0001/FastAsyncWorldedit.git
synced 2024-12-29 12:37:53 +01:00
Masking typo fixes
This commit is contained in:
parent
ac3005be36
commit
ae4083c9be
@ -88,7 +88,7 @@ public class DefaultMaskParser extends FaweParser<Mask> {
|
|||||||
return parseFromInput(char0 + "[" + input.substring(1) + "]", context);
|
return parseFromInput(char0 + "[" + input.substring(1) + "]", context);
|
||||||
}
|
}
|
||||||
if (char0 == '#') {
|
if (char0 == '#') {
|
||||||
throw new SuggestInputParseException(new NoMatchException("Unkown mask: " + full + ", See: //masks"), full,
|
throw new SuggestInputParseException(new NoMatchException("Unknown mask: " + full + ", See: //masks"), full,
|
||||||
() -> {
|
() -> {
|
||||||
if (full.length() == 1) return new ArrayList<>(dispatcher.getPrimaryAliases());
|
if (full.length() == 1) return new ArrayList<>(dispatcher.getPrimaryAliases());
|
||||||
return dispatcher.getAliases().stream().filter(
|
return dispatcher.getAliases().stream().filter(
|
||||||
|
@ -79,7 +79,7 @@ public class HashTagPatternParser extends FaweParser<Pattern> {
|
|||||||
return parseFromInput(char0 + "[" + input.substring(1) + "]", context);
|
return parseFromInput(char0 + "[" + input.substring(1) + "]", context);
|
||||||
}
|
}
|
||||||
if (char0 == '#') {
|
if (char0 == '#') {
|
||||||
throw new SuggestInputParseException(new NoMatchException("Unkown pattern: " + full + ", See: //patterns"), full,
|
throw new SuggestInputParseException(new NoMatchException("Unknown pattern: " + full + ", See: //patterns"), full,
|
||||||
() -> {
|
() -> {
|
||||||
if (full.length() == 1) return new ArrayList<>(dispatcher.getPrimaryAliases());
|
if (full.length() == 1) return new ArrayList<>(dispatcher.getPrimaryAliases());
|
||||||
return dispatcher.getAliases().stream().filter(
|
return dispatcher.getAliases().stream().filter(
|
||||||
|
Loading…
Reference in New Issue
Block a user