Merge pull request #622 from diesieben07/scala-fix
Fix scala mods, Closes #621
This commit is contained in:
commit
8ce395ea4e
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue