修复指定活动

back_recharge
jiahuiwen 2021-10-29 16:10:22 +08:00
parent 40ae6b6a1b
commit 59c91e3233
1 changed files with 2 additions and 2 deletions

View File

@ -407,9 +407,9 @@ public class ActivityLogic implements IEventHandler{
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) {
if (sGlobalActivity.getId() == 8301 && sGlobalActivity.getShopId() != null && sGlobalActivity.getShopId().length > 0) {
for (int shopId : sGlobalActivity.getShopId()) {
if (!user.getStoreManager().getStoreInfoMap().containsKey(shopId)) {
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;