This commit is contained in:
@@ -153,7 +153,11 @@ func (h Controller) ChangePlayerCloth(data *item.ChangePlayerClothInboundInfo, p
|
||||
}
|
||||
|
||||
for _, clothID := range data.ClothList {
|
||||
result.ClothList = append(result.ClothList, model.PeopleItemInfo{ID: clothID, Level: 1})
|
||||
|
||||
if player.Service.Item.Exist(clothID) {
|
||||
result.ClothList = append(result.ClothList, model.PeopleItemInfo{ID: clothID, Level: 1})
|
||||
}
|
||||
|
||||
}
|
||||
player.Info.Clothes = result.ClothList
|
||||
|
||||
|
||||
Reference in New Issue
Block a user