diff --git a/LaunchServer/src/main/java/pro/gravit/launchserver/Main.java b/LaunchServer/src/main/java/pro/gravit/launchserver/Main.java index a4bbc556..8361e8f4 100644 --- a/LaunchServer/src/main/java/pro/gravit/launchserver/Main.java +++ b/LaunchServer/src/main/java/pro/gravit/launchserver/Main.java @@ -37,7 +37,7 @@ private static void unpackLog4j() { Path log4jConfigPath = Path.of("log4j2.xml"); if(!Files.exists(log4jConfigPath)) { try(FileOutputStream output = new FileOutputStream(log4jConfigPath.toFile())) { - try(InputStream input = Main.class.getResourceAsStream("log4j2.xml")) { + try(InputStream input = Main.class.getResourceAsStream("/log4j2.xml")) { if(input == null) { return; }