Search bar cleanup
This commit is contained in:
@@ -77,7 +77,7 @@ abstract class BuilderComp implements Posc, Teamc, Rotc{
|
||||
if(plans.size > 1){
|
||||
int total = 0;
|
||||
BuildPlan req;
|
||||
while((dst((req = buildPlan()).tile()) > finalPlaceDst || shouldSkip(req, core)) && total < plans.size){
|
||||
while((!within((req = buildPlan()).tile(), finalPlaceDst) || shouldSkip(req, core)) && total < plans.size){
|
||||
plans.removeFirst();
|
||||
plans.addLast(req);
|
||||
total++;
|
||||
|
||||
Reference in New Issue
Block a user