Fix subdirectory loading properly: mods will load inside eclipse..

This commit is contained in:
Christian Weeks 2012-04-06 16:14:01 -04:00
parent 38094093b3
commit 0ae4c2e4a9

View file

@ -416,7 +416,7 @@ public class Loader
{
if (file.isDirectory()) {
log.finest(String.format("Recursing into subdirectory %s", file.getName()));
foundAModClass|=attemptDirLoad(file,path+".");
foundAModClass|=attemptDirLoad(file,path+file.getName()+".");
continue;
}
Matcher fname = modClass.matcher(file.getName());