From ea030e54b999aba4d8c3409c1507047f0a8aa8c5 Mon Sep 17 00:00:00 2001 From: zaaarf Date: Sun, 27 Aug 2023 09:58:40 +0200 Subject: [PATCH] fix: uri is not absolute error when giving linux paths --- src/main/java/ftbsc/lll/mapper/MapperProvider.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/ftbsc/lll/mapper/MapperProvider.java b/src/main/java/ftbsc/lll/mapper/MapperProvider.java index 0dc6d23..07f3a28 100644 --- a/src/main/java/ftbsc/lll/mapper/MapperProvider.java +++ b/src/main/java/ftbsc/lll/mapper/MapperProvider.java @@ -75,7 +75,7 @@ public class MapperProvider { try { URI target = new URI(location); targetStream = target.toURL().openStream(); - } catch(URISyntaxException | IOException e) { + } catch(URISyntaxException | IllegalArgumentException | IOException e) { //may be a local file path File f = new File(location); try {