云游商人bug

back_recharge
jiahuiwen 2021-09-30 14:28:31 +08:00
parent 54b53fda54
commit 93eb07e78d
1 changed files with 3 additions and 1 deletions

View File

@ -932,7 +932,9 @@ public class ItemLogic {
LOGGER.error("misson为空activityId:{}",activityId);
throw new ErrorCodeException(ErrorCode.ACTIVITY_NOT_OPEN);
}
ActivityProgressInfo progress = misson.getActivityMissionMap().get(type);
Map<Integer, SComposeActivity> integerSComposeActivityMap = SComposeActivity.getConfigMap().get(activityId);
int typeId = integerSComposeActivityMap.get(type).getId();
ActivityProgressInfo progress = misson.getActivityMissionMap().get(typeId);
if(progress == null){
LOGGER.error("progress为空type:{}",type);
throw new ErrorCodeException(ErrorCode.ACTIVITY_NOT_OPEN);