diff --git a/obj.go b/obj.go index f482c1a..ddfa74b 100644 --- a/obj.go +++ b/obj.go @@ -493,10 +493,10 @@ func addObjItem(code string, name string, itemTypeID64 int64, weight int) (int64 c := new(ChatWarsItem) c.ObjID64 = objId c.Code = code - c.Name = strings.ToUpper(name) + c.Name = name c.Weight = weight cacheObjItem.Store(code, *c) - cacheObjItem.Store(name, *c) + cacheObjItem.Store(strings.ToUpper(name), *c) return objId, nil }