test
This commit is contained in:
parent
d568ab7078
commit
f23eeec590
2
obj.go
2
obj.go
@ -491,7 +491,7 @@ func addObjItem(code string, name string, itemTypeID64 int64, weight int) (int64
|
|||||||
}
|
}
|
||||||
|
|
||||||
func getObjItemID(c string, n string) int64 {
|
func getObjItemID(c string, n string) int64 {
|
||||||
if v, ok := cacheObjItem.Load(s); ok {
|
if v, ok := cacheObjItem.Load(c); ok {
|
||||||
i := v.(ChatWarsItem)
|
i := v.(ChatWarsItem)
|
||||||
return i.ObjID64
|
return i.ObjID64
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user