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:");
|
||||
for (String s : libraries)
|
||||
{
|
||||
File f = new File(s);
|
||||
if (f.exists())
|
||||
{
|
||||
Utils.log(" " + s);
|
||||
}
|
||||
else
|
||||
{
|
||||
Utils.log(" " + s + " (missing)", "Warning");
|
||||
}
|
||||
}
|
||||
Utils.log();
|
||||
|
||||
if(mods.size() > 0)
|
||||
|
Loading…
Reference in New Issue
Block a user