back_recharge
jiahuiwen 2019-03-26 16:42:14 +08:00
parent 5794900e80
commit fc39cefe82
1 changed files with 2 additions and 1 deletions

View File

@ -324,6 +324,7 @@ public class MapLogic {
MessageUtil.sendErrorResponse(session, 0, messageType.getNumber(), "");
return;
}
int pointId = cell.getPointId();
int bigEventId = cell.getEventId();
if (eventId != bigEventId) {
LOGGER.info("eventId != bigEventId =>{} {}, xy=>{}", eventId, bigEventId, mapManager.getCurXY());
@ -477,7 +478,7 @@ public class MapLogic {
}
// LOGGER.info("updateEvent =====>success<====== xy=>{}, getPointId=>{} eventId={}, mission=>{}, nextEventId=>{}, eventBehaviorCommon=>{}", mapManager.getCurXY(), cell == null ? 0 : cell.getPointId(),
// cell == null ? 0 : cell.getEventId(), eventUpdateResponse.getMissionList(), nextEventId, eventBehaviorCommon);
saveRefreshInfo(optionId, mapManager, mapPointConfig, nextEventId);
saveRefreshInfo(pointId, mapManager, mapPointConfig, nextEventId);
updateMapMission(mapManager,EventType.updateEvent,eventId,0);
MessageUtil.sendMessage(session, 1, messageType.getNumber(), eventUpdateResponse.build(), true);
}