mirror of
https://github.com/HighCapable/YukiHookAPI.git
synced 2025-09-04 09:45:19 +08:00
...
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
@@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user