Merge branch 'master_online_hw' into master_test_hw

back_recharge
duhui 2021-03-02 10:02:45 +08:00
commit 76b9919dbb
1 changed files with 1 additions and 1 deletions

View File

@ -783,7 +783,7 @@ public class ItemUtil {
*/
public static int addItemByMail(User user, Map<Integer, Integer> itemMap,CommonProto.Drop.Builder dropBuilder,int reason) throws Exception {
if (itemMap.isEmpty()) {
return 0;
return 1;
}
List<CommonProto.Item> itemProtoList = new CopyOnWriteArrayList<>();
ItemManager itemManager = user.getItemManager();