Tweak class loader

This commit is contained in:
Christian Weeks 2012-03-31 00:22:08 -04:00
parent 41f469f495
commit f37c8ae4d7

View file

@ -21,7 +21,7 @@ import java.net.URLClassLoader;
public class ModClassLoader extends URLClassLoader {
public ModClassLoader() {
super(new URL[0]);
super(new URL[0],ModClassLoader.class.getClassLoader());
}
public void addFile(File modFile) throws MalformedURLException {