From 60e98519006cd971e3a61b93673346ceb576670c Mon Sep 17 00:00:00 2001 From: Fankesyooni Date: Fri, 11 Feb 2022 23:44:34 +0800 Subject: [PATCH] ... --- .../yukihookapi/hook/core/finder/ConstructorFinder.kt | 2 +- .../highcapable/yukihookapi/hook/core/finder/MethodFinder.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/yukihookapi/src/api/kotlin/com/highcapable/yukihookapi/hook/core/finder/ConstructorFinder.kt b/yukihookapi/src/api/kotlin/com/highcapable/yukihookapi/hook/core/finder/ConstructorFinder.kt index ed48055b..7e5cfdfd 100644 --- a/yukihookapi/src/api/kotlin/com/highcapable/yukihookapi/hook/core/finder/ConstructorFinder.kt +++ b/yukihookapi/src/api/kotlin/com/highcapable/yukihookapi/hook/core/finder/ConstructorFinder.kt @@ -58,7 +58,7 @@ class ConstructorFinder(private val hookInstance: YukiHookCreater.MemberHookCrea * @param paramType 参数类型数组 */ fun param(vararg paramType: Class<*>) { - if (paramType.isEmpty()) error("param is empty, please delete param() method") + if (paramType.isEmpty()) error("paramType is empty, please delete param() method") params = paramType } diff --git a/yukihookapi/src/api/kotlin/com/highcapable/yukihookapi/hook/core/finder/MethodFinder.kt b/yukihookapi/src/api/kotlin/com/highcapable/yukihookapi/hook/core/finder/MethodFinder.kt index df289bad..0bd67dc1 100644 --- a/yukihookapi/src/api/kotlin/com/highcapable/yukihookapi/hook/core/finder/MethodFinder.kt +++ b/yukihookapi/src/api/kotlin/com/highcapable/yukihookapi/hook/core/finder/MethodFinder.kt @@ -72,7 +72,7 @@ class MethodFinder(private val hookInstance: YukiHookCreater.MemberHookCreater, * @param paramType 参数类型数组 */ fun param(vararg paramType: Class<*>) { - if (paramType.isEmpty()) error("param is empty, please delete param() method") + if (paramType.isEmpty()) error("paramType is empty, please delete param() method") params = paramType }