mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 09:47:38 +00:00
Fix for '//mask ?' resulting in pattern error
This commit is contained in:
parent
34c8ecc694
commit
767607ea68
@ -86,7 +86,7 @@ public class DefaultMaskParser extends FaweParser<Mask> {
|
||||
if (charMask && input.charAt(0) == '=') {
|
||||
return parseFromInput(char0 + "[" + input.substring(1) + "]", context);
|
||||
}
|
||||
if (char0 == '#') {
|
||||
if (char0 == '#' || char0 == '?') {
|
||||
throw new SuggestInputParseException(new NoMatchException("Unknown mask: " + full + ", See: //masks"), full,
|
||||
() -> {
|
||||
if (full.length() == 1) return new ArrayList<>(dispatcher.getPrimaryAliases());
|
||||
|
Loading…
Reference in New Issue
Block a user