Pathfinder error fix
This commit is contained in:
@@ -455,9 +455,11 @@ public class ControlPathfinder implements Runnable{
|
|||||||
}else{
|
}else{
|
||||||
//reset data
|
//reset data
|
||||||
for(var p : cluster.portals){
|
for(var p : cluster.portals){
|
||||||
|
if(p != null){
|
||||||
p.clear();
|
p.clear();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
PathCost cost = idToCost(pathCost);
|
PathCost cost = idToCost(pathCost);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user