mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2026-04-25 03:57:42 -04:00
Filter non-exists jar
This commit is contained in:
@@ -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