From 74bb420947c5330f0a8e836df48c4cd3e60dcd93 Mon Sep 17 00:00:00 2001 From: fankesyooni Date: Tue, 13 Sep 2022 02:03:09 +0800 Subject: [PATCH] Fix logger params overflow bug in ReflectionTool --- .../yukihookapi/hook/core/reflex/tools/ReflectionTool.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/yukihookapi/src/api/kotlin/com/highcapable/yukihookapi/hook/core/reflex/tools/ReflectionTool.kt b/yukihookapi/src/api/kotlin/com/highcapable/yukihookapi/hook/core/reflex/tools/ReflectionTool.kt index 347f9721..1ae08c2d 100644 --- a/yukihookapi/src/api/kotlin/com/highcapable/yukihookapi/hook/core/reflex/tools/ReflectionTool.kt +++ b/yukihookapi/src/api/kotlin/com/highcapable/yukihookapi/hook/core/reflex/tools/ReflectionTool.kt @@ -375,7 +375,6 @@ internal object ReflectionTool { nameConditions?.let { "nameConditions:$it" } ?: "", "type:[${type ?: "unspecified"}] ", "modifiers:${modifiers ?: "[]"} ", - "name:[${name.takeIf { it.isNotBlank() } ?: "unspecified"}]", orderIndex?.let { it.takeIf { it.second }?.let { e -> "orderIndex:[${e.first}]" } ?: "orderIndex:[last]" } ?: "", matchIndex?.let { it.takeIf { it.second }?.let { e -> "matchIndex:[${e.first}]" } ?: "matchIndex:[last]" } ?: "" )