探索bug
parent
2203e54375
commit
85969b7acf
|
@ -242,6 +242,10 @@ public class ExplorerMapLogic {
|
|||
List<Integer> delayId = new ArrayList<>();
|
||||
List<Integer> deleteMapPlayer = new ArrayList<>(); //地图玩家信息
|
||||
for (Map.Entry<Integer, ExplorerInfo> keyVal : explorer.entrySet()) {
|
||||
if(keyVal.getValue().getMapId() == 0){
|
||||
delayId.add(keyVal.getKey());
|
||||
continue;
|
||||
}
|
||||
//探索时间到期
|
||||
if (keyVal.getValue().getSendEndTime() < TimeUtils.nowInt()) {
|
||||
delayId.add(keyVal.getKey());
|
||||
|
@ -305,6 +309,7 @@ public class ExplorerMapLogic {
|
|||
//到期后发奖励
|
||||
SExplore exploreConfig = STableManager.getConfig(SExplore.class).get(explorer.get(id).getMapId());
|
||||
if (exploreConfig == null) {
|
||||
explorer.remove(id);
|
||||
continue;
|
||||
}
|
||||
String teamName = TeamEnum.getEnumByteamId(id).getRemarks();
|
||||
|
|
Loading…
Reference in New Issue