Tweak class loader
This commit is contained in:
parent
41f469f495
commit
f37c8ae4d7
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue