aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr/syeyoung/dungeonsguide/d
diff options
context:
space:
mode:
authorsyeyoung <42869671+cyoung06@users.noreply.github.com>2020-12-14 13:00:56 +0900
committersyeyoung <42869671+cyoung06@users.noreply.github.com>2020-12-14 13:00:56 +0900
commit1a870dde6063de18728b6f063bc22349a25a7358 (patch)
tree018bc1500dcd1d10ba8a9074a932f11e10282d24 /src/main/java/kr/syeyoung/dungeonsguide/d
parentac7363e998734c6434972e8c68d8629b376b7fbe (diff)
downloadSkyblock-Dungeons-Guide-1a870dde6063de18728b6f063bc22349a25a7358.tar.gz
Skyblock-Dungeons-Guide-1a870dde6063de18728b6f063bc22349a25a7358.tar.bz2
Skyblock-Dungeons-Guide-1a870dde6063de18728b6f063bc22349a25a7358.zip
PLEASE FIX BUGS
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/d')
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/d/a.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/d/a.java b/src/main/java/kr/syeyoung/dungeonsguide/d/a.java
index 9cc4932c..58c89ba8 100644
--- a/src/main/java/kr/syeyoung/dungeonsguide/d/a.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/d/a.java
@@ -23,8 +23,9 @@ public class a extends URLConnection {
String path = url.getPath().substring(1);
if (!a.d().containsKey(path)) throw new FileNotFoundException();
return new ByteArrayInputStream(a.d().get(path));
- } else {
+ } else if (url.getPath().contains("roomdata")){
return a.class.getResourceAsStream(url.getPath());
}
+ throw new FileNotFoundException();
}
}