fix items cache

This commit is contained in:
shoopea 2019-08-23 18:31:43 +08:00
parent 85a4a69c87
commit dc7aec0997

1
obj.go
View File

@ -672,6 +672,7 @@ func addObjItem(code string, name string, itemTypeID64 int64, weight int, exchan
c := new(ChatWarsItem) c := new(ChatWarsItem)
c.ObjID64 = objId c.ObjID64 = objId
c.ItemTypeID = itemTypeID64
c.Code = code c.Code = code
c.Name = name c.Name = name
c.Weight = weight c.Weight = weight