Handle missing classpath entries when source remapping.

This commit is contained in:
modmuss50
2022-05-21 01:05:10 +01:00
parent 86d74b789a
commit 1956c03df2

View File

@@ -130,7 +130,9 @@ public final class SourceRemapperService implements SharedService {
}
for (File file : classpath.getFiles()) {
mercury.getClassPath().add(file.toPath());
if (file.exists()) {
mercury.getClassPath().add(file.toPath());
}
}
return mercury;