From 97acb922ce580e817569a44057c4e409a150c384 Mon Sep 17 00:00:00 2001 From: shoopea Date: Thu, 6 Jun 2019 16:02:41 +0800 Subject: [PATCH] test --- obj.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/obj.go b/obj.go index 9a5b067..f482c1a 100644 --- a/obj.go +++ b/obj.go @@ -579,10 +579,10 @@ func loadObjItem() error { c := new(ChatWarsItem) c.ObjID64 = id c.Code = intl_id - c.Name = strings.ToUpper(name) + c.Name = name c.Weight = weight cacheObjItem.Store(intl_id, *c) - cacheObjItem.Store(name, *c) + cacheObjItem.Store(strings.ToUpper(name), *c) } return nil