Fixed direction error

This commit is contained in:
Matthew Miller 2019-05-06 18:33:21 +10:00
parent 067a570df0
commit 9a5d45deed

View File

@ -101,7 +101,7 @@ public class DirectionConverter implements ArgumentConverter<BlockVector3> {
return SuccessfulConversion.fromSingle(includeDiagonals
? worldEdit.getDiagonalDirection(player, argument)
: worldEdit.getDirection(player, argument));
} catch (UnknownDirectionException e) {
} catch (Exception e) {
return FailedConversion.from(e);
}
}