类型优化

This commit is contained in:
hahwu 2025-07-07 14:55:49 +08:00
parent 5df6d959d8
commit 2677c1c7bc

View File

@ -700,7 +700,7 @@ func (p *Player) HandleItem(itemList []*item.Item, Label string) error {
}
ResItemPopId := 0
if v, ok := p.args["ResItemPopId"]; ok {
ResItemPopId = v.(int)
ResItemPopId = GoUtil.Int(v)
}
if len(ResItem) != 0 || len(ResCard) != 0 {
p.PushClientRes(&msg.ResItemPop{