上传道具修改
This commit is contained in:
parent
33dbbbdebf
commit
3d3b3b8553
@ -171,7 +171,7 @@ func (this *ModelItemsComp) AddItemsToUserPack(uId string, items map[int32]int32
|
||||
this.module.Errorf("err:%v", err)
|
||||
return
|
||||
}
|
||||
change = make([]*pb.DB_UserItemData, len(itmes))
|
||||
change = make([]*pb.DB_UserItemData, 0)
|
||||
for k, v := range items {
|
||||
add, update, del, leftnum = this.addItemToUserPack(uId, itmes, k, v)
|
||||
if leftnum < 0 {
|
||||
|
Loading…
Reference in New Issue
Block a user