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