修复指定活动
parent
40ae6b6a1b
commit
59c91e3233
|
@ -407,9 +407,9 @@ public class ActivityLogic implements IEventHandler{
|
||||||
LOGGER.info("checkActivityOfUser uid={} fix JADE_DYNASTY_WEEK_REFRESH", user.getId());
|
LOGGER.info("checkActivityOfUser uid={} fix JADE_DYNASTY_WEEK_REFRESH", user.getId());
|
||||||
user.getUserMissionManager().onGameEvent(user, GameEvent.JADE_DYNASTY_WEEK_REFRESH, sGlobalActivity.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()) {
|
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());
|
LOGGER.info("checkActivityOfUser uid={} fix sGlobalActivity shop", user.getId());
|
||||||
Poster.getPoster().dispatchEvent(new ActivityStateChangeEvent(user.getId(), sGlobalActivity.getId(), 1));
|
Poster.getPoster().dispatchEvent(new ActivityStateChangeEvent(user.getId(), sGlobalActivity.getId(), 1));
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue