mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-01-08 17:07:38 +00:00
Adjust exception catch slightly
This commit is contained in:
parent
f8ed4e0c38
commit
040edc8fd0
@ -141,7 +141,7 @@ public class RichPatternParser extends FaweParser<Pattern> {
|
|||||||
List<String> args = entry.getValue();
|
List<String> args = entry.getValue();
|
||||||
try {
|
try {
|
||||||
pattern = worldEdit.getPatternFactory().parseWithoutRich(full, context);
|
pattern = worldEdit.getPatternFactory().parseWithoutRich(full, context);
|
||||||
} catch (SuggestInputParseException rethrow) {
|
} catch (InputParseException rethrow) {
|
||||||
throw rethrow;
|
throw rethrow;
|
||||||
} catch (Throwable e) {
|
} catch (Throwable e) {
|
||||||
throw SuggestInputParseException.of(e, full, () -> {
|
throw SuggestInputParseException.of(e, full, () -> {
|
||||||
|
Loading…
Reference in New Issue
Block a user