change type

This commit is contained in:
shoopea 2019-07-22 16:59:54 +08:00
parent 57000e33af
commit e7b171fcbb

View File

@ -22,7 +22,7 @@ func reloadObjItem(code string, name string, itemTypeID64 int64, weight int) {
c.Weight = weight
muxObjItem.Lock()
cacheObjItem[name] = c
cacheObjItem[name] = *c
muxObjItem.Unlock()
}
}