删除多余代码
parent
e1a5cd8db8
commit
91be761235
|
@ -1079,12 +1079,11 @@ public class HeroLogic {
|
|||
if (sLotteryRewardConfigListByPoolId == null || sLotteryRewardConfigListByPoolId.isEmpty()) {
|
||||
return null;
|
||||
}
|
||||
List<SLotteryRewardConfig> sLotteryRewardConfigListByPoolIds = new ArrayList<>(sLotteryRewardConfigListByPoolId);
|
||||
long cacheOpenTime = GameApplication.serverConfig.getCacheOpenTime();
|
||||
long now = TimeUtils.now();
|
||||
int days = TimeUtils.differentDays(cacheOpenTime, now);
|
||||
int totalCountByPoolId = 0;
|
||||
for (SLotteryRewardConfig sLotteryRewardConfig : sLotteryRewardConfigListByPoolIds) {
|
||||
for (SLotteryRewardConfig sLotteryRewardConfig : sLotteryRewardConfigListByPoolId) {
|
||||
int[] openRules = sLotteryRewardConfig.getOpenRules();
|
||||
boolean canAdd = true;
|
||||
if (openRules != null && openRules.length > 0) {
|
||||
|
|
Loading…
Reference in New Issue