From 85725a723110e9ba806a1f1496e1156db2a5d54c Mon Sep 17 00:00:00 2001 From: Fankesyooni Date: Tue, 29 Mar 2022 13:50:38 +0800 Subject: [PATCH] Merge code --- .../com/highcapable/yukihookapi/hook/core/finder/FieldFinder.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yukihookapi/src/api/kotlin/com/highcapable/yukihookapi/hook/core/finder/FieldFinder.kt b/yukihookapi/src/api/kotlin/com/highcapable/yukihookapi/hook/core/finder/FieldFinder.kt index 5e2e8460..6e0f9872 100644 --- a/yukihookapi/src/api/kotlin/com/highcapable/yukihookapi/hook/core/finder/FieldFinder.kt +++ b/yukihookapi/src/api/kotlin/com/highcapable/yukihookapi/hook/core/finder/FieldFinder.kt @@ -183,7 +183,7 @@ class FieldFinder( * 得到变量实例 * @return [T] or null */ - fun cast() = get(instance).self as? T? + fun cast() = self as? T? /** * 得到变量的 [Byte] 实例