From 0ae4c2e4a90765d7a1ee8e88e77d4ea48fcfe6e0 Mon Sep 17 00:00:00 2001 From: Christian Weeks Date: Fri, 6 Apr 2012 16:14:01 -0400 Subject: [PATCH] Fix subdirectory loading properly: mods will load inside eclipse.. --- fml/common/cpw/mods/fml/common/Loader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fml/common/cpw/mods/fml/common/Loader.java b/fml/common/cpw/mods/fml/common/Loader.java index 955ec30e9d..8236debcda 100644 --- a/fml/common/cpw/mods/fml/common/Loader.java +++ b/fml/common/cpw/mods/fml/common/Loader.java @@ -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());