test
This commit is contained in:
parent
af3ef63e49
commit
0a943fe247
4
obj.go
4
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
|
||||
|
Loading…
Reference in New Issue
Block a user