删活动

back_recharge
jiahuiwen 2021-12-13 14:04:12 +08:00
parent a19352578e
commit bbc555db7c
1 changed files with 5 additions and 0 deletions

View File

@ -369,6 +369,11 @@ public class ActivityLogic implements IEventHandler{
//初始化活动 绝对时间和相对开服时间
for (Integer openActivityId : openActivityIds) {
SGlobalActivity sGlobalActivity = sGlobalActivityMap.get(openActivityId);
if (sGlobalActivity == null) {
LOGGER.info("checkActivityOfUser uid={} remove activity={}", user.getId(), openActivityId);
continue;
}
}
int[] ifOpen = sGlobalActivity.getIfOpen();
//创角
if(ifOpen!=null && ifOpen.length>0 && ifOpen[0]==1){