aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr/syeyoung/dungeonsguide/d
diff options
context:
space:
mode:
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();
}
}