Fix: full model refactor
This commit is contained in:
@@ -349,7 +349,7 @@ public class GameEventProcessor {
|
||||
* @return a new {@link ArrayList} of disconnected usernames.
|
||||
*/
|
||||
private ArrayList<String> buildDisconnectedList(Game game) {
|
||||
return game.disconnectedPlayers.entrySet().stream()
|
||||
return game.getDisconnectedPlayers().entrySet().stream()
|
||||
.filter(Map.Entry::getValue)
|
||||
.map(e -> e.getKey().getUserName())
|
||||
.collect(Collectors.toCollection(ArrayList::new));
|
||||
|
||||
Reference in New Issue
Block a user