test
This commit is contained in:
parent
97acb922ce
commit
a808aaf4eb
4
obj.go
4
obj.go
@ -493,10 +493,10 @@ func addObjItem(code string, name string, itemTypeID64 int64, weight int) (int64
|
||||
c := new(ChatWarsItem)
|
||||
c.ObjID64 = objId
|
||||
c.Code = code
|
||||
c.Name = strings.ToUpper(name)
|
||||
c.Name = name
|
||||
c.Weight = weight
|
||||
cacheObjItem.Store(code, *c)
|
||||
cacheObjItem.Store(name, *c)
|
||||
cacheObjItem.Store(strings.ToUpper(name), *c)
|
||||
|
||||
return objId, nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user