changes for public server

This commit is contained in:
BetaSteward 2011-05-04 23:18:13 -04:00
parent 1fdc50570f
commit b81938210a
46 changed files with 218 additions and 281 deletions

View file

@ -64,7 +64,9 @@ public class GameManager {
}
public UUID getChatId(UUID gameId) {
return gameControllers.get(gameId).getChatId();
if (gameControllers.containsKey(gameId))
return gameControllers.get(gameId).getChatId();
return null;
}
public void sendPlayerUUID(UUID gameId, UUID sessionId, UUID data) {