diff --git a/LaunchServer/src/main/java/pro/gravit/launchserver/binary/tasks/MainBuildTask.java b/LaunchServer/src/main/java/pro/gravit/launchserver/binary/tasks/MainBuildTask.java index c6851ae8..62e6c544 100644 --- a/LaunchServer/src/main/java/pro/gravit/launchserver/binary/tasks/MainBuildTask.java +++ b/LaunchServer/src/main/java/pro/gravit/launchserver/binary/tasks/MainBuildTask.java @@ -42,7 +42,6 @@ public MainBuildTask(LaunchServer srv) { reader = new ClassMetadataReader(); InjectClassAcceptor injectClassAcceptor = new InjectClassAcceptor(properties); transformers.add(injectClassAcceptor); - blacklist.add("pro/gravit/launcher/debug/"); } @Override @@ -63,7 +62,7 @@ public Path process(Path inputJar) throws IOException { for (Path e : server.launcherBinary.coreLibs) { reader.getCp().add(new JarFile(e.toFile())); } - context.pushJarFile(inputJar, (e) -> blacklist.contains(e.getName()), (e) -> true); + context.pushJarFile(inputJar, (e) -> blacklist.contains(e.getName()) || e.getName().startsWith("pro/gravit/launcher/debug/"), (e) -> true); // map for guard Map runtime = new HashMap<>(256);