String natives = delayedString(NATIVES_DIR).call().replace('\\', '/');
for (ClasspathEntry e : classpath.getEntries())
{
if (e instanceof Library)
{
Library lib = (Library) e;
if (lib.getPath().contains("lwjg") || lib.getPath().contains("jinput"))
{
lib.setNativeLibraryLocation(natives);
}
}
}
}
});