mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-12-27 21:15:19 +00:00
Show a warning in the log if a library is missing
This commit is contained in:
parent
71575a5022
commit
66fa241257
@ -101,7 +101,15 @@ public class OneSixLauncher implements Launcher
|
||||
Utils.log("Libraries:");
|
||||
for (String s : libraries)
|
||||
{
|
||||
Utils.log(" " + s);
|
||||
File f = new File(s);
|
||||
if (f.exists())
|
||||
{
|
||||
Utils.log(" " + s);
|
||||
}
|
||||
else
|
||||
{
|
||||
Utils.log(" " + s + " (missing)", "Warning");
|
||||
}
|
||||
}
|
||||
Utils.log();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user