This commit is contained in:
hahwu 2025-07-11 17:58:44 +08:00
parent 1c2a5ae0a7
commit 667c1fcf08

View File

@ -534,6 +534,9 @@ func GetOrderItem(Star int) map[int][]gamedata.PetOrderItem {
} }
Id := GoUtil.Int(k) Id := GoUtil.Int(k)
Type := gamedata.GetIntValue(v, "Type") Type := gamedata.GetIntValue(v, "Type")
if Type == 0 {
continue
}
if _, ok := r[Type]; !ok { if _, ok := r[Type]; !ok {
r[Type] = make([]gamedata.PetOrderItem, 0) r[Type] = make([]gamedata.PetOrderItem, 0)
} }