Initialize sources list

Fixes crash NPE thrown by addFile()
This commit is contained in:
techbrew-mc committed 2015-12-01 16:02:45 -07:00
1 parent 31faf63e94
commit 606b402c2d
1 file changed
+1
@@ -49,6 +49,7 @@ public class ModClassLoader extends URLClassLoader
public ModClassLoader(ClassLoader parent) {
super(new URL[0], null);
this.mainClassLoader = (LaunchClassLoader)parent;
this.sources = new ArrayList();
}
public void addFile(File modFile) throws MalformedURLException