diff options
author | syeyoung <cyoung06@naver.com> | 2023-01-20 22:34:00 +0900 |
---|---|---|
committer | syeyoung <cyoung06@naver.com> | 2023-01-20 22:34:00 +0900 |
commit | dd5bb9415764cb4ad00359eba9cf140c569e9cec (patch) | |
tree | a0bc083d84da215c95b6cb53a479245133c60d26 | |
parent | 13b1cd25e3cc8a12602e369600d5e06d784e61cd (diff) | |
download | Skyblock-Dungeons-Guide-dd5bb9415764cb4ad00359eba9cf140c569e9cec.tar.gz Skyblock-Dungeons-Guide-dd5bb9415764cb4ad00359eba9cf140c569e9cec.tar.bz2 Skyblock-Dungeons-Guide-dd5bb9415764cb4ad00359eba9cf140c569e9cec.zip |
- fix issue with roomdata loading
Signed-off-by: syeyoung <cyoung06@naver.com>
-rwxr-xr-x | mod/src/main/java/kr/syeyoung/dungeonsguide/mod/dungeon/roomfinder/DungeonRoomInfoRegistry.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/dungeon/roomfinder/DungeonRoomInfoRegistry.java b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/dungeon/roomfinder/DungeonRoomInfoRegistry.java index 525ecd7c..b52d99e5 100755 --- a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/dungeon/roomfinder/DungeonRoomInfoRegistry.java +++ b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/dungeon/roomfinder/DungeonRoomInfoRegistry.java @@ -133,7 +133,7 @@ public class DungeonRoomInfoRegistry { for (String name : lines) { if (!name.endsWith(".roomdata")) continue; try { - InputStream fis = Main.class.getResourceAsStream("/"+name); + InputStream fis = DungeonsGuide.class.getResourceAsStream("/"+name); ObjectInputStream ois = new ObjectInputStream(fis); DungeonRoomInfo dri = (DungeonRoomInfo) ois.readObject(); ois.close(); |