diff --git a/server/areasparser/parser.go b/server/areasparser/parser.go index 5a4db07..8f9c1e6 100644 --- a/server/areasparser/parser.go +++ b/server/areasparser/parser.go @@ -43,7 +43,7 @@ func Parse(data []byte) ([]*Area, error) { a.Name = entry["name"].(string) a.Owner = entry["owner"].(string) if entry["parent"] != nil { - a.Parent = entry["owner"].(int) + a.Parent = entry["parent"].(int) } p1 := GenericPos{}