case Packet.COMMAND_QUERY_MAP_SETTINGS:
MapSettings temp = (MapSettings) packet.getObject(0);
temp.setBoardsAvailableVector(scanForBoards(temp.getBoardWidth(), temp.getBoardHeight()));
temp.removeUnavailable();
temp.setNullBoards(DEFAULT_BOARD);
temp.replaceBoardWithRandom(MapSettings.BOARD_RANDOM);
temp.removeUnavailable();
// if still only nulls left, use BOARD_GENERATED
if (temp.getBoardsSelected().next() == null) {
temp.setNullBoards((MapSettings.BOARD_GENERATED));
}