删除修复bug代码
parent
922f532aca
commit
61bb5e7e14
|
@ -400,23 +400,6 @@ public class ActivityLogic implements IEventHandler{
|
|||
}
|
||||
}
|
||||
}
|
||||
// TODO 修复每周任务和万象活动 11月3日删除
|
||||
// 1635696000000L = 2021-11-01 00:00:00
|
||||
if (now < 1635696000000L) {
|
||||
if(sGlobalActivity.getId() == 40000 && !TimeUtils.isSameWeek(now, user.getUserMissionManager().getJadeDynastyMissionType().getWeekRefresh())) {
|
||||
LOGGER.info("checkActivityOfUser uid={} fix JADE_DYNASTY_WEEK_REFRESH", user.getId());
|
||||
user.getUserMissionManager().onGameEvent(user, GameEvent.JADE_DYNASTY_WEEK_REFRESH, sGlobalActivity.getId());
|
||||
}
|
||||
if (sGlobalActivity.getShopId() != null && sGlobalActivity.getShopId().length > 0) {
|
||||
for (int shopId : sGlobalActivity.getShopId()) {
|
||||
if (shopId != 0 && !user.getStoreManager().getStoreInfoMap().containsKey(shopId)) {
|
||||
LOGGER.info("checkActivityOfUser uid={} fix sGlobalActivity shop", user.getId());
|
||||
Poster.getPoster().dispatchEvent(new ActivityStateChangeEvent(user.getId(), sGlobalActivity.getId(), 1));
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
continue;
|
||||
}
|
||||
initAllActivityMission(activityManager.getActivityMissionMap(),openActivityId);
|
||||
|
|
Loading…
Reference in New Issue