public static void addFriend(Player adder, long added) {
		int worldId = -1;
		for(World world : Worlds.getWorlds()) {
			for(Player cyclePlayer : world.getPlayers()) {
				if (Utilities.playerNameToLong(cyclePlayer.getUsername()) == added) {
					worldId = world.getId();
					break;
				}
			}
		}
		Player addedPlayer = Worlds.getPlayer(Utilities.longToPlayerName(added));
		if (addedPlayer != null && (addedPlayer.getPrivateChat() != 2 || (addedPlayer.getPrivateChat() == 1 && !addedPlayer.getFriends().containsKey(adder.getUsername())))) {
			if(worldId != -1) {
				PacketSender.sendUpdatedFriend(adder, Utilities.longToPlayerName(added), worldId, adder.getFriends().get(Utilities.longToPlayerName(added)));
			}
		}
	}