福利红包优化

back_recharge
mengchengzhen 2021-06-21 17:46:59 +08:00
parent 66e33baa24
commit d32845a602
1 changed files with 1 additions and 13 deletions

View File

@ -1325,19 +1325,7 @@ public class GuildLogic {
for(SGuildRedPackConfig config : SGuildRedPackConfig.sWelfareRedPackByRule.values()){
if(redPacketsMap.containsKey(config.getId()))
continue;
if(config.getRuleType() == 3){
if(config.getGroupId() == 2){
for(SGuildRedPackConfig config1 : SGuildRedPackConfig.welfareRedPackBySerise.get(config.getRuleId()[0])){
redPacketsMap.put(config.getId(),0);
break;
}
}else{
if(config.getId()==SGuildRedPackConfig.welfareRedPackBySerise.get(config.getRuleId()[0]).get(0).getId())
redPacketsMap.put(config.getId(),0);
}
}else{
redPacketsMap.put(config.getId(),0);
}
}
user.getPlayerInfoManager().setWelfareRedPackets(redPacketsMap);
}