File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
yukihookapi/src/api/kotlin/com/highcapable/yukihookapi/hook/param Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -84,12 +84,9 @@ open class PackageParam internal constructor(@PublishedApi internal var wrapper:
8484 *
8585 * - ❗如果设置了错误或无效的 [ClassLoader] 会造成功能异常 - 请谨慎操作
8686 * @return [ClassLoader]
87- * @throws IllegalStateException 如果 [ClassLoader] 是空的
8887 */
8988 var appClassLoader
90- get() = currentClassLoader ? : wrapper?.appClassLoader
91- ? : AppParasitics .currentApplication?.classLoader
92- ? : javaClass.classLoader ? : error(" PackageParam got null ClassLoader" )
89+ get() = currentClassLoader ? : wrapper?.appClassLoader ? : AppParasitics .currentApplication?.classLoader ? : AppParasitics .baseClassLoader
9390 set(value) {
9491 currentClassLoader = value
9592 }
You can’t perform that action at this time.
0 commit comments