Merge branch 'develop' of https://git.pogorockgames.com/mango-games/server/game into develop
This commit is contained in:
commit
eb3fefb9b8
|
|
@ -190,6 +190,9 @@ func (this *BagMgr) AddItems(p *Player, addItems []*Item, add int64, gainWay int
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
item := srvdata.GameItemMgr.Get(p.Platform, v.ItemId)
|
item := srvdata.GameItemMgr.Get(p.Platform, v.ItemId)
|
||||||
|
if item == nil {
|
||||||
|
continue
|
||||||
|
}
|
||||||
switch item.Type {
|
switch item.Type {
|
||||||
case common.ItemTypeCoin:
|
case common.ItemTypeCoin:
|
||||||
//增加金币
|
//增加金币
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue