From ecc627800828857a1e617d1135ca37b08b4dc24c Mon Sep 17 00:00:00 2001 From: syeyoung Date: Thu, 15 Dec 2022 16:05:54 +0900 Subject: - call super - loading splash Signed-off-by: syeyoung --- .../dungeonsguide/mod/dungeon/roomfinder/DungeonRoomInfoRegistry.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mod/src/main') 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 5329b61e..525ecd7c 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 @@ -22,6 +22,7 @@ import com.google.common.io.Files; import com.google.gson.Gson; import kr.syeyoung.dungeonsguide.dungeon.data.DungeonRoomInfo; import kr.syeyoung.dungeonsguide.launcher.Main; +import kr.syeyoung.dungeonsguide.mod.DungeonsGuide; import lombok.Getter; import net.minecraft.client.Minecraft; import org.apache.commons.io.IOUtils; @@ -128,7 +129,7 @@ public class DungeonRoomInfoRegistry { shapeMap.clear(); uuidMap.clear(); try { - List lines = IOUtils.readLines(Main.class.getResourceAsStream("/roomdata/datas.txt")); + List lines = IOUtils.readLines(DungeonsGuide.class.getResourceAsStream("/roomdata/datas.txt")); for (String name : lines) { if (!name.endsWith(".roomdata")) continue; try { -- cgit