private void deleteFriend(long friend) {
		try {
			if (friend == 0L)
				return;
			for (int f = 0; f < friendsCount; f++) {
				if (friendsListAsLongs[f] != friend)
					continue;
				friendsCount--;
				redrawTab = true;
				for (int _f = f; _f < friendsCount; _f++) {
					friendsList[_f] = friendsList[_f + 1];
					friendsWorldIds[_f] = friendsWorldIds[_f + 1];
					friendsListAsLongs[_f] = friendsListAsLongs[_f + 1];
				}

				stream.putOpcode(215);
				stream.putLong(friend);
				break;
			}
		} catch (RuntimeException runtimeexception) {
			signlink.reporterror("18622, " + false + ", " + friend + ", "
					+ runtimeexception.toString());
			throw new RuntimeException();
		}
	}