Fix: full FA refactor

This commit is contained in:
2026-06-14 13:49:54 +02:00
parent 3888529b96
commit 6c070e1ce5
5 changed files with 37 additions and 25 deletions
@@ -1006,7 +1006,7 @@ public class Game implements Serializable {
* in the first position of the final ranking. The remaining players are
* ordered by prestige value and, in case of a tie, by food value.
*/
public synchronized void endGameForFeit() {
public synchronized void endGameForfeit() {
Player winner = playersList.stream()
.filter(x -> !disconnectedPlayers.containsKey(x) || !disconnectedPlayers.get(x))
.findFirst().orElse(null);