From b7749327fd227bb9ec571846f63ec017d93f1a22 Mon Sep 17 00:00:00 2001 From: Thomas Rudin Date: Thu, 2 May 2019 19:10:53 +0200 Subject: [PATCH] fix field typo --- server/areasparser/parser.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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{}