mirror of
https://github.com/HighCapable/YukiHookAPI.git
synced 2025-09-06 10:45:47 +08:00
Fix space overflow bug in ReflectionTool
This commit is contained in:
@@ -373,8 +373,8 @@ internal object ReflectionTool {
|
|||||||
instanceSet, name = "Field",
|
instanceSet, name = "Field",
|
||||||
"name:[${name.takeIf { it.isNotBlank() } ?: "unspecified"}]",
|
"name:[${name.takeIf { it.isNotBlank() } ?: "unspecified"}]",
|
||||||
nameConditions?.let { "nameConditions:$it" } ?: "",
|
nameConditions?.let { "nameConditions:$it" } ?: "",
|
||||||
"type:[${type ?: "unspecified"}] ",
|
"type:[${type ?: "unspecified"}]",
|
||||||
"modifiers:${modifiers ?: "[]"} ",
|
"modifiers:${modifiers ?: "[]"}",
|
||||||
orderIndex?.let { it.takeIf { it.second }?.let { e -> "orderIndex:[${e.first}]" } ?: "orderIndex:[last]" } ?: "",
|
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]" } ?: ""
|
matchIndex?.let { it.takeIf { it.second }?.let { e -> "matchIndex:[${e.first}]" } ?: "matchIndex:[last]" } ?: ""
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user