|
|
|
@ -47,7 +47,7 @@ public class MatchBrowserLobbyInterface extends Observable {
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
HostGamesRequest message = (HostGamesRequest) hostedGamesRequestDecoder.decode(data);
|
|
|
|
HostGamesRequest message = (HostGamesRequest) hostedGamesRequestDecoder.decode(data);
|
|
|
|
games = message.getKnownGames();
|
|
|
|
games = message.getKnownGames();
|
|
|
|
System.out.println(games);
|
|
|
|
System.out.println(games.get(0).getIp());
|
|
|
|
setChanged();
|
|
|
|
setChanged();
|
|
|
|
notifyObservers();
|
|
|
|
notifyObservers();
|
|
|
|
} catch (InvalidMessageException e) {
|
|
|
|
} catch (InvalidMessageException e) {
|
|
|
|
|