Skip to content

Commit

Permalink
Updates from review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperStucco authored and SuperStucco committed Dec 14, 2024
1 parent def6259 commit cae45e0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion megamek/src/megamek/client/ratgenerator/ModelRecord.java
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ public boolean isClan() {
/**
* @return true, if unit is base IS tech and mounts Clan tech equipment
*/
public boolean isMixedTech() {
public boolean isMixedISTech() {
return mixedTech;
}

Expand Down
4 changes: 2 additions & 2 deletions megamek/src/megamek/client/ratgenerator/RATGenerator.java
Original file line number Diff line number Diff line change
Expand Up @@ -589,10 +589,10 @@ public List<UnitTable.TableEntry> generateTable(FactionRecord fRec,
// class are the same for all models although a few outliers exist, so
// just look for the first.
if (weightClasses != null && !weightClasses.isEmpty()) {
boolean validChassis = Arrays.stream(curChassis.getModels().
boolean validChassis = curChassis.
getModels().
stream().
mapToInt(ModelRecord::getWeightClass).
toArray()).
anyMatch(weightClasses::contains);
if (!validChassis) {
continue;
Expand Down

0 comments on commit cae45e0

Please sign in to comment.