void updateNames () {
		// Collect the names of each player.
		ArrayList namesList = new ArrayList(players.size());
		for (Player player : players)
			if (player.name != null) namesList.add(player.name);
		// Set the names on everyone's chat frame.
		String[] names = (String[])namesList.toArray(new String[namesList.size()]);
		for (Player player : players)
			player.frame.setNames(names);
	}