From 7be89c4b85d3fb2f0394b57ba28f6c964168f70c Mon Sep 17 00:00:00 2001 From: fankesyooni Date: Sat, 7 Jan 2023 01:55:58 +0800 Subject: [PATCH] Modify change logger content in checkingDangerous function in YukiMemberHookCreator --- .../highcapable/yukihookapi/hook/core/YukiMemberHookCreator.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yukihookapi/src/api/kotlin/com/highcapable/yukihookapi/hook/core/YukiMemberHookCreator.kt b/yukihookapi/src/api/kotlin/com/highcapable/yukihookapi/hook/core/YukiMemberHookCreator.kt index 8f1e0af6..f71c2aac 100644 --- a/yukihookapi/src/api/kotlin/com/highcapable/yukihookapi/hook/core/YukiMemberHookCreator.kt +++ b/yukihookapi/src/api/kotlin/com/highcapable/yukihookapi/hook/core/YukiMemberHookCreator.kt @@ -182,7 +182,7 @@ class YukiMemberHookCreator @PublishedApi internal constructor( ) JavaClassLoader.name -> throwProblem( name = "ClassLoader", - content = "If you only want to listen to \"loadClass\", just use \"ClassLoader.fetching\" instead it" + content = "If you only want to listen to \"loadClass\", just use \"ClassLoader.onLoadClass\" instead it" ) JavaClass.name, JavaMethodClass.name, JavaFieldClass.name, JavaConstructorClass.name, JavaMemberClass.name -> throwProblem(