This commit is contained in:
shoopea 2019-06-06 16:02:41 +08:00
parent 1ffcc75285
commit 97acb922ce

4
obj.go
View File

@ -579,10 +579,10 @@ func loadObjItem() error {
c := new(ChatWarsItem)
c.ObjID64 = id
c.Code = intl_id
c.Name = strings.ToUpper(name)
c.Name = name
c.Weight = weight
cacheObjItem.Store(intl_id, *c)
cacheObjItem.Store(name, *c)
cacheObjItem.Store(strings.ToUpper(name), *c)
}
return nil