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