From 27b210d557f7a7895b4cceebdd6afee28460a400 Mon Sep 17 00:00:00 2001 From: NatureFreshMilk Date: Tue, 14 May 2019 08:38:11 +0200 Subject: [PATCH] collect members field in protection block --- server/mapobject/protector.go | 1 + 1 file changed, 1 insertion(+) diff --git a/server/mapobject/protector.go b/server/mapobject/protector.go index 5f729c2..86e81de 100644 --- a/server/mapobject/protector.go +++ b/server/mapobject/protector.go @@ -12,6 +12,7 @@ func (this *ProtectorBlock) onMapObject(x, y, z int, block *mapblockparser.MapBl o := mapobjectdb.NewMapObject(block.Pos, x, y, z, "protector") o.Attributes["owner"] = md["owner"] + o.Attributes["members"] = md["members"] return o }