This commit is contained in:
Anuken
2023-05-13 10:51:05 -04:00
parent ebb40145ac
commit 89e942ee35
2 changed files with 8 additions and 6 deletions

View File

@@ -47,6 +47,14 @@ abstract class BuilderComp implements Posc, Statusc, Teamc, Rotc{
updateBuildLogic();
}
@Override
public void afterRead(){
//why would this happen?
if(plans == null){
plans = new Queue<>(1);
}
}
public void validatePlans(){
if(plans.size > 0){
Iterator<BuildPlan> it = plans.iterator();