Show a warning in the log if a library is missing

This commit is contained in:
p-schneider 2014-07-19 15:46:55 +02:00
parent 71575a5022
commit 66fa241257

View File

@ -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)