1
0
forked from MTSR/mapserver
This commit is contained in:
NatureFreshMilk 2019-02-12 13:34:15 +01:00
parent 58261615a7
commit 0b3d7c46ab

View File

@ -10,7 +10,7 @@ import (
type SmartShopBlock struct{}
func (this *SmartShopBlock) onMapObject(x, y, z int, block *mapblockparser.MapBlock) []*mapobjectdb.MapObject {
list := make([]*mapobjectdb.MapObject, 4)
list := make([]*mapobjectdb.MapObject, 0)
md := block.Metadata.GetMetadata(x, y, z)
invMap := block.Metadata.GetInventoryMapAtPos(x, y, z)