From 8d098108d0056a235393202dac9dababc85f34be Mon Sep 17 00:00:00 2001 From: zaxar163 Date: Sat, 19 Oct 2019 20:45:05 +0300 Subject: [PATCH] [FIX] Copy-paste shit --- .../pro/gravit/launchserver/binary/tasks/MainBuildTask.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 f1d7f0bc..5742cdfb 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 @@ -126,7 +126,7 @@ public Path process(Path inputJar) throws IOException { new ClassReader(IOHelper.getResourceBytes(AutogenConfig.class.getName().replace('.', '/').concat(".class"))).accept(cn, 0); LauncherConfigurator launcherConfigurator = new LauncherConfigurator(cn); ClassNode cn1 = new ClassNode(); - new ClassReader(IOHelper.getResourceBytes(SecureAutogenConfig.class.getName().replace('.', '/').concat(".class"))).accept(cn, 0); + new ClassReader(IOHelper.getResourceBytes(SecureAutogenConfig.class.getName().replace('.', '/').concat(".class"))).accept(cn1, 0); ConfigGenerator secureConfigurator = new ConfigGenerator(cn1); BuildContext context = new BuildContext(output, launcherConfigurator, this); server.buildHookManager.hook(context);