优化
This commit is contained in:
parent
1c2a5ae0a7
commit
667c1fcf08
@ -534,6 +534,9 @@ func GetOrderItem(Star int) map[int][]gamedata.PetOrderItem {
|
||||
}
|
||||
Id := GoUtil.Int(k)
|
||||
Type := gamedata.GetIntValue(v, "Type")
|
||||
if Type == 0 {
|
||||
continue
|
||||
}
|
||||
if _, ok := r[Type]; !ok {
|
||||
r[Type] = make([]gamedata.PetOrderItem, 0)
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user