Fix: full FA refactor
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user