Merge pull request #2231 from techbrew-mc/patch-1
Initialize sources list
This commit is contained in:
commit
4416537776
|
@ -49,6 +49,7 @@ public class ModClassLoader extends URLClassLoader
|
||||||
public ModClassLoader(ClassLoader parent) {
|
public ModClassLoader(ClassLoader parent) {
|
||||||
super(new URL[0], null);
|
super(new URL[0], null);
|
||||||
this.mainClassLoader = (LaunchClassLoader)parent;
|
this.mainClassLoader = (LaunchClassLoader)parent;
|
||||||
|
this.sources = new ArrayList();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void addFile(File modFile) throws MalformedURLException
|
public void addFile(File modFile) throws MalformedURLException
|
||||||
|
|
Loading…
Reference in New Issue