1
0
forked from MTSR/mapserver

fix empty fancyvend type

This commit is contained in:
NatureFreshMilk 2019-03-22 10:58:54 +01:00
parent f1986cba99
commit 783fdc2ef8

View File

@ -85,7 +85,7 @@ func (this *FancyVend) onMapObject(x, y, z int, block *mapblockparser.MapBlock)
o := mapobjectdb.NewMapObject(block.Pos, x, y, z, "shop")
o.Attributes["owner"] = md["owner"]
o.Attributes["type"] = md["fancyvend"]
o.Attributes["type"] = "fancyvend"
o.Attributes["in_item"] = in_item
o.Attributes["in_count"] = strconv.Itoa(in_count)