From 9a5d45deed5de392ce1a8922d0c20ad77e674127 Mon Sep 17 00:00:00 2001 From: Matthew Miller Date: Mon, 6 May 2019 18:33:21 +1000 Subject: [PATCH] Fixed direction error --- .../sk89q/worldedit/command/argument/DirectionConverter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/command/argument/DirectionConverter.java b/worldedit-core/src/main/java/com/sk89q/worldedit/command/argument/DirectionConverter.java index aacfe4bf5..78d702aa9 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/command/argument/DirectionConverter.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/command/argument/DirectionConverter.java @@ -101,7 +101,7 @@ public class DirectionConverter implements ArgumentConverter { return SuccessfulConversion.fromSingle(includeDiagonals ? worldEdit.getDiagonalDirection(player, argument) : worldEdit.getDirection(player, argument)); - } catch (UnknownDirectionException e) { + } catch (Exception e) { return FailedConversion.from(e); } }