diff --git a/mapobject/mission.go b/mapobject/mission.go index d4485be..6320591 100644 --- a/mapobject/mission.go +++ b/mapobject/mission.go @@ -10,6 +10,10 @@ type MissionBlock struct{} func (this *MissionBlock) onMapObject(x, y, z int, block *mapblockparser.MapBlock) *mapobjectdb.MapObject { md := block.Metadata.GetMetadata(x, y, z) + if md["hidden"] == "1" { + return nil + } + o := mapobjectdb.NewMapObject(block.Pos, x, y, z, "mission") o.Attributes["name"] = md["name"] o.Attributes["time"] = md["time"]