From b7621ef76093ca3230408d27f285466686723c68 Mon Sep 17 00:00:00 2001 From: Gravita Date: Tue, 10 Aug 2021 04:30:55 +0700 Subject: [PATCH] [FIX] pro.gravit.launcher.debug --- .../pro/gravit/launchserver/binary/tasks/MainBuildTask.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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);