类型优化
This commit is contained in:
parent
5df6d959d8
commit
2677c1c7bc
@ -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{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user