test
This commit is contained in:
parent
3fc8c68631
commit
9b5d1a124a
2
obj.go
2
obj.go
@ -643,7 +643,7 @@ func silentGetObjItemID(code string, name string) int64 {
|
||||
}
|
||||
if v, ok := cacheObjItem.Load(name); ok {
|
||||
item := v.(ChatWarsItem)
|
||||
log.Printf("Matching item name %s with %s.\n", name, item.Name)
|
||||
//log.Printf("Matching item name %s with %s.\n", name, item.Name)
|
||||
return item.ObjID64
|
||||
}
|
||||
if ok, _ := regexp.MatchString(`^((u|e)[0-9]+|(a|w)[0-9]+[a-e]{0,1})$`, code); ok || len(code) == 0 {
|
||||
|
Loading…
Reference in New Issue
Block a user