Skip to content

Commit

Permalink
Fix mapper with dummy values
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackYps committed Mar 8, 2024
1 parent 47a7adf commit fa3c779
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ default HashMap<String, List<GamePlayerStats>> mapTeamStatsFromParser(ReplayData
null);
Float factionFloat = (Float) armyInfo.get("Faction");
Faction faction = Faction.fromFaValue(factionFloat.intValue());
GamePlayerStats stats = new GamePlayerStats(player, (byte) 0, team, faction, null,
List.of(ratingJournal));
GamePlayerStats stats = new GamePlayerStats(false, faction, (byte) 0, team, (byte) 0, (byte) 0, null,
null, player, List.of(ratingJournal));
teams.computeIfAbsent(teamString, key -> new ArrayList<>()).add(stats);
}
});
Expand Down

0 comments on commit fa3c779

Please sign in to comment.