aboutsummaryrefslogtreecommitdiff
path: root/mod/src/main
diff options
context:
space:
mode:
authorsyeyoung <cyoung06@naver.com>2023-01-20 22:34:00 +0900
committersyeyoung <cyoung06@naver.com>2023-01-20 22:34:00 +0900
commitdd5bb9415764cb4ad00359eba9cf140c569e9cec (patch)
treea0bc083d84da215c95b6cb53a479245133c60d26 /mod/src/main
parent13b1cd25e3cc8a12602e369600d5e06d784e61cd (diff)
downloadSkyblock-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>
Diffstat (limited to 'mod/src/main')
-rwxr-xr-xmod/src/main/java/kr/syeyoung/dungeonsguide/mod/dungeon/roomfinder/DungeonRoomInfoRegistry.java2
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();