mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2026-10-04 03:22:03 -04:00
Filter non-exists jar
This commit is contained in:
1 parent
09dc4c39d0
commit
ce6660c2a6
1 file changed
+4
@@ -351,6 +351,10 @@ public final class Tools
|
||||
libStr.append(getPatchedFile(version));
|
||||
}
|
||||
for (String perJar : classpath) {
|
||||
if (!new File(perJar).exists()) {
|
||||
System.out.println("ClassPathGen: ignored non-exists file: " + perJar);
|
||||
continue;
|
||||
}
|
||||
libStr.append((isClientFirst ? ":" : "") + perJar + (!isClientFirst ? ":" : ""));
|
||||
}
|
||||
if (!isClientFirst) {
|
||||
|
||||
Reference in new issue
Block a user