Skip to content

Commit

Permalink
aftermerge fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SJuliez committed Jun 14, 2024
1 parent 2b57885 commit 404691e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -317,9 +317,9 @@ public String getRemainingPlayerWithTurns() {
Game game = clientgui.getClient().getGame();
List<String> nextPlayerNames = new ArrayList<>();
int turnIndex = game.getTurnIndex();
List<GameTurn> gameTurns = game.getTurnVector();
List<GameTurn> gameTurns = game.getTurnsList();
for (int i = turnIndex + 1; (i < gameTurns.size()) && (nextPlayerNames.size() < playerCountToShow); i++) {
nextPlayerNames.add(game.getPlayer(gameTurns.get(i).getPlayerNum()).getName());
nextPlayerNames.add(game.getPlayer(gameTurns.get(i).playerId()).getName());
}
if (!nextPlayerNames.isEmpty()) {
String playerList = String.join(", ", nextPlayerNames);
Expand Down

0 comments on commit 404691e

Please sign in to comment.