Fix ignore component count
This commit is contained in:
parent
4f6b55364d
commit
be7d9c4e54
@ -171,12 +171,12 @@ public class BoosterDTO implements BodyTubeDTOAdapter {
|
|||||||
// Case: normal body tube
|
// Case: normal body tube
|
||||||
if (stage.getChildPosition(firstTube) == 0) {
|
if (stage.getChildPosition(firstTube) == 0) {
|
||||||
warnings.add(String.format(trans.get("RASAeroExport.warning10"),
|
warnings.add(String.format(trans.get("RASAeroExport.warning10"),
|
||||||
stage.getName(), stage.getChildCount() - i - 1));
|
stage.getName(), stage.getChildCount() - i));
|
||||||
}
|
}
|
||||||
// Case: body tube with transition shoulder
|
// Case: body tube with transition shoulder
|
||||||
else {
|
else {
|
||||||
warnings.add(String.format(trans.get("RASAeroExport.warning11"),
|
warnings.add(String.format(trans.get("RASAeroExport.warning11"),
|
||||||
stage.getName(), stage.getChildCount() - i - 1));
|
stage.getName(), stage.getChildCount() - i));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user