summaryrefslogtreecommitdiff
path: root/src/main/java/ftbsc/lll
diff options
context:
space:
mode:
author zaaarf <zaaarf@proton.me>2023-08-27 09:58:40 +0200
committer zaaarf <zaaarf@proton.me>2023-08-27 09:58:40 +0200
commitea030e54b999aba4d8c3409c1507047f0a8aa8c5 (patch)
tree216f18056ded4353fc68b992e5fb78faad074d1c /src/main/java/ftbsc/lll
parent3000895130821a450fb18c75d36d1c6218047be6 (diff)
fix: uri is not absolute error when giving linux paths0.2.4origin/dev
Diffstat (limited to 'src/main/java/ftbsc/lll')
-rw-r--r--src/main/java/ftbsc/lll/mapper/MapperProvider.java2
1 files changed, 1 insertions, 1 deletions
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 {