Daniel 2025-06-23 10:45:45 +08:00
parent 525339115a
commit b804cd2d61
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
2 changed files with 7 additions and 5 deletions

View file

@ -61,7 +61,7 @@ func (kValues *KeyValues) GetValue(blockID string) (ret *Value) {
func (kValues *KeyValues) GetBlockValue() (ret *Value) {
for _, v := range kValues.Values {
if KeyTypeBlock != v.Type {
if KeyTypeBlock == v.Type {
ret = v
return
}