mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-01-12 14:14:52 +08:00
fix NPE (#1983)
This commit is contained in:
parent
3f0e8138b1
commit
2d4ca3100e
@ -114,6 +114,8 @@ public final class SelfDependencyPatcher {
|
||||
throw new UncheckedIOException(e);
|
||||
}
|
||||
|
||||
if (dependencies == null) return null;
|
||||
|
||||
try {
|
||||
ClassLoader classLoader = SelfDependencyPatcher.class.getClassLoader();
|
||||
Class.forName("netscape.javascript.JSObject", false, classLoader);
|
||||
|
Loading…
Reference in New Issue
Block a user