Fix scala mods, Closes #621
This commit is contained in:
parent
68c3a85fef
commit
8f5bb75ef2
1 changed files with 2 additions and 1 deletions
|
@ -19,7 +19,8 @@ import net.minecraftforge.fml.common.ModContainer;
|
||||||
|
|
||||||
public interface ITypeDiscoverer
|
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);
|
public List<ModContainer> discover(ModCandidate candidate, ASMDataTable table);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue