From 5d47d1bce6162211f028547c525d8c98d22cdaf4 Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Fri, 17 Aug 2018 23:07:41 +1000 Subject: [PATCH] Rethrow input parse in mask parser --- .../sk89q/worldedit/extension/factory/DefaultMaskParser.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/extension/factory/DefaultMaskParser.java b/worldedit-core/src/main/java/com/sk89q/worldedit/extension/factory/DefaultMaskParser.java index a75a27fb4..6043d91c0 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/extension/factory/DefaultMaskParser.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/extension/factory/DefaultMaskParser.java @@ -147,6 +147,8 @@ public class DefaultMaskParser extends FaweParser { } masks.get(masks.size() - 1).add(mask); } + } catch (InputParseException ignore) { + throw ignore; } catch (Throwable e) { e.printStackTrace(); throw new InputParseException(e.getMessage(), e);