if (pledgeType == Clan.SUBUNIT_ACADEMY)
{
player.setLvlJoinedAcademy(player.getLevel());
}
member.setPowerGrade(clan.getAffiliationRank(player.getPledgeType()));
clan.broadcastToOtherOnlineMembers(new PledgeShowMemberListAdd(member), player);
clan.broadcastToOnlineMembers(new SystemMessage2(SystemMsg.S1_HAS_JOINED_THE_CLAN).addString(player.getName()), new PledgeShowInfoUpdate(clan));
player.sendPacket(SystemMsg.ENTERED_THE_CLAN);
player.sendPacket(player.getClan().listAll());
player.setLeaveClanTime(0);
player.updatePledgeClass();