diff --git a/items.go b/items.go index e400c75..bb5fecf 100644 --- a/items.go +++ b/items.go @@ -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() } }