fix field typo
This commit is contained in:
parent
7140d9046a
commit
b7749327fd
@ -43,7 +43,7 @@ func Parse(data []byte) ([]*Area, error) {
|
|||||||
a.Name = entry["name"].(string)
|
a.Name = entry["name"].(string)
|
||||||
a.Owner = entry["owner"].(string)
|
a.Owner = entry["owner"].(string)
|
||||||
if entry["parent"] != nil {
|
if entry["parent"] != nil {
|
||||||
a.Parent = entry["owner"].(int)
|
a.Parent = entry["parent"].(int)
|
||||||
}
|
}
|
||||||
|
|
||||||
p1 := GenericPos{}
|
p1 := GenericPos{}
|
||||||
|
Loading…
Reference in New Issue
Block a user