zhangshanxue 2020-08-06 21:22:54 +08:00
parent 2268fdbf5a
commit 4960916a72
1 changed files with 9 additions and 4 deletions

View File

@ -533,11 +533,16 @@ public class MissionEventDistributor {
return null;
}
Map<GameMisionType, List<MissionStateChangeInfo>> missionTypeEnumListMap = threadMissionChangeList.get();
if(missionTypeEnumListMap == null){
missionTypeEnumListMap = new HashMap<>(1);
}
try {
if(missionTypeEnumListMap == null){
missionTypeEnumListMap = new HashMap<>(1);
}
processor.onGameEvent(user, missionTypeEnumListMap,event,parm );
processor.onGameEvent(user, missionTypeEnumListMap,event,parm );
}catch (Exception e){
e.printStackTrace();
LOGGER.error(e.toString());
}
return missionTypeEnumListMap;
}