Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/bibi2di/Pokemon.git
Browse files Browse the repository at this point in the history
  • Loading branch information
2001uri15 committed May 18, 2023
2 parents 8780bbb + 616813c commit 49949cf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Modelo/ListaJugadores.java
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ public int jugadorGanador() {
int id = -1;
if (miListaJugadores.finJuego()) {
id = lJugadores.stream().filter(p->!p.haPerdido()).collect(Collectors.toList()).get(0).getId();
//id = lJugadores.stream().filter(p->!p.haPerdido()).mapToInt(p->p.getId()).toArray()[0];
}
setChanged();
notifyObservers(new int[] {id});
Expand Down

0 comments on commit 49949cf

Please sign in to comment.