This commit is contained in:
2022-02-11 23:44:34 +08:00
parent e2cb47ae70
commit 60e9851900
2 changed files with 2 additions and 2 deletions

View File

@@ -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
}

View File

@@ -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
}