From 4dda149325007ec6ddbc426081bc53e909ea864f Mon Sep 17 00:00:00 2001 From: syeyoung Date: Sat, 19 Nov 2022 18:33:42 +0900 Subject: - Fix wrong class lookup Signed-off-by: syeyoung --- loader/src/main/java/kr/syeyoung/dungeonsguide/launcher/Main.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'loader/src/main/java/kr') diff --git a/loader/src/main/java/kr/syeyoung/dungeonsguide/launcher/Main.java b/loader/src/main/java/kr/syeyoung/dungeonsguide/launcher/Main.java index 5724dfa3..30518481 100755 --- a/loader/src/main/java/kr/syeyoung/dungeonsguide/launcher/Main.java +++ b/loader/src/main/java/kr/syeyoung/dungeonsguide/launcher/Main.java @@ -255,7 +255,7 @@ public class Main String loader = getLoaderName(configuration); if ("local".equals(loader) || - (loader.equals("auto") && this.getClass().getResourceAsStream("/kr/syeyoung/dungeonsguide/DungeonsGuide.class") != null)) { + (loader.equals("auto") && this.getClass().getResourceAsStream("/kr/syeyoung/dungeonsguide/mod/DungeonsGuide.class") != null)) { return new LocalLoader(); } else if ("jar".equals(loader) || (loader.equals("auto") && this.getClass().getResourceAsStream("/mod.jar") != null)) { -- cgit