add owner in mapobject for label and border
This commit is contained in:
parent
4ae3ab9058
commit
4bacd9dfa9
@ -13,6 +13,7 @@ func (this *BorderBlock) onMapObject(x, y, z int, block *mapblockparser.MapBlock
|
||||
o := mapobjectdb.NewMapObject(block.Pos, x, y, z, "border")
|
||||
o.Attributes["name"] = md["name"]
|
||||
o.Attributes["index"] = md["index"]
|
||||
o.Attributes["owner"] = md["owner"]
|
||||
|
||||
return o
|
||||
}
|
||||
|
@ -14,6 +14,7 @@ func (this *LabelBlock) onMapObject(x, y, z int, block *mapblockparser.MapBlock)
|
||||
o.Attributes["text"] = md["text"]
|
||||
o.Attributes["size"] = md["size"]
|
||||
o.Attributes["direction"] = md["direction"]
|
||||
o.Attributes["owner"] = md["owner"]
|
||||
|
||||
return o
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user