From f8fbe8e425d67bb81ff4ea13de9e5003465810fc Mon Sep 17 00:00:00 2001 From: Gravit Date: Mon, 30 Sep 2019 14:01:41 +0700 Subject: [PATCH] [FIX] Duplicate META-INF --- .../main/java/pro/gravit/launchserver/binary/BuildContext.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LaunchServer/src/main/java/pro/gravit/launchserver/binary/BuildContext.java b/LaunchServer/src/main/java/pro/gravit/launchserver/binary/BuildContext.java index 7ede8a64..0e821bf9 100644 --- a/LaunchServer/src/main/java/pro/gravit/launchserver/binary/BuildContext.java +++ b/LaunchServer/src/main/java/pro/gravit/launchserver/binary/BuildContext.java @@ -49,7 +49,7 @@ public void pushJarFile(ZipInputStream input) throws IOException { public void pushJarFile(ZipInputStream input, Set blacklist) throws IOException { ZipEntry e = input.getNextEntry(); while (e != null) { - if (blacklist.contains(e.getName())) { + if (fileList.contains(e.getName()) || blacklist.contains(e.getName())) { e = input.getNextEntry(); continue; }