Merge pull request #622 from diesieben07/scala-fix

Fix scala mods, Closes #621
This commit is contained in:
LexManos 2015-03-28 11:23:59 -07:00
commit 8ce395ea4e

View file

@ -19,7 +19,8 @@ import net.minecraftforge.fml.common.ModContainer;
public interface ITypeDiscoverer
{
public static Pattern classFile = Pattern.compile("[^\\s]+\\.class$");
// main class part, followed by an optional $ and an "inner class" part. $ cannot be last, otherwise scala breaks
public static Pattern classFile = Pattern.compile("[^\\s\\$]+(\\$[^\\s]+)?\\.class$");
public List<ModContainer> discover(ModCandidate candidate, ASMDataTable table);
}