From a808aaf4eb23044d1953a89ffce7f00a41bccb2b Mon Sep 17 00:00:00 2001 From: shoopea Date: Thu, 6 Jun 2019 16:07:38 +0800 Subject: [PATCH] test --- obj.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }