From 0a943fe247fac4dc901b639d49f88152e2c8f64e Mon Sep 17 00:00:00 2001 From: shoopea Date: Thu, 6 Jun 2019 15:55:00 +0800 Subject: [PATCH] test --- obj.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/obj.go b/obj.go index e398276..c048eb3 100644 --- a/obj.go +++ b/obj.go @@ -515,8 +515,8 @@ func getObjItemID(c string, n string) int64 { } func silentGetObjItemID(code string, name string) int64 { - c := string.ToLower(code) - n := string.ToUpper(name) + c := strings.ToLower(code) + n := strings.ToUpper(name) if v, ok := cacheObjItem.Load(c); ok { i := v.(ChatWarsItem) return i.ObjID64