猫猫回礼奖励bug修复
This commit is contained in:
parent
0c01365f45
commit
244b158563
@ -5018,7 +5018,7 @@ func ReqCatReturnGiftReward(player *Player, req *msg.ReqCatReturnGiftReward) err
|
||||
items = append(items, item.MsgToItem(v.Reward)...)
|
||||
maxRewardId = max(maxRewardId, int(v.Id))
|
||||
if v.StarReward > 0 {
|
||||
items = append(items, item.NewItem(GoUtil.FormatStarItemNum(int(v.StarReward), player.GetOrderFactor()), 1))
|
||||
items = append(items, item.NewItem(item.ITEM_STAR_ID, GoUtil.FormatStarItemNum(int(v.StarReward), player.GetOrderFactor())))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user