mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2025-12-18 12:30:11 -07:00
Filter non-exists jar
This commit is contained in:
parent
09dc4c39d0
commit
ce6660c2a6
1 changed files with 4 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue