diff --git a/server/mapblockparser/mapblock.go b/server/mapblockparser/mapblock.go index 5f4f65d..a5cfdaf 100644 --- a/server/mapblockparser/mapblock.go +++ b/server/mapblockparser/mapblock.go @@ -38,7 +38,7 @@ func (this *Item) IsEmpty() bool { } type Inventory struct { - Size int `json:"size"` + Size int `json:"size"` Items []*Item `json:"items"` } diff --git a/server/mapobject/fancyvend.go b/server/mapobject/fancyvend.go index 5287134..25369c2 100644 --- a/server/mapobject/fancyvend.go +++ b/server/mapobject/fancyvend.go @@ -1,9 +1,9 @@ package mapobject import ( + "mapserver/luaparser" "mapserver/mapblockparser" "mapserver/mapobjectdb" - "mapserver/luaparser" "strconv" ) @@ -31,7 +31,7 @@ func (this *FancyVend) onMapObject(x, y, z int, block *mapblockparser.MapBlock) settings, err := parser.ParseMap(md["settings"]) if err != nil { - panic(err)//TODO + panic(err) //TODO } if settings["input_item_qty"] == nil || settings["output_item_qty"] == nil {