无尽刷小怪

back_recharge
lvxinran 2019-09-04 15:40:50 +08:00
parent aa316cc206
commit 509878f535
1 changed files with 3 additions and 0 deletions

View File

@ -1518,6 +1518,9 @@ public class MapLogic {
boolean flagToAddMonster = true; boolean flagToAddMonster = true;
int[][] groups = entry.getValue().getGroups(); int[][] groups = entry.getValue().getGroups();
for(int i = 0;i<groups.length;i++){ for(int i = 0;i<groups.length;i++){
if(mapManager.getMapInfo().get(CellUtil.xy2Pos(groups[i][0],groups[i][1]))==null){
continue;
}
if(mapManager.getMapInfo().get(CellUtil.xy2Pos(groups[i][0],groups[i][1])).getPointId()!=0){ if(mapManager.getMapInfo().get(CellUtil.xy2Pos(groups[i][0],groups[i][1])).getPointId()!=0){
flagToAddMonster = false; flagToAddMonster = false;
} }