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] 实例