无尽刷小怪
parent
aa316cc206
commit
509878f535
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue