{
player.sendPacket(SystemMsg.SINCE_THE_PERSON_YOU_CHALLENGED_IS_NOT_CURRENTLY_IN_A_PARTY_THEY_CANNOT_DUEL_AGAINST_YOUR_PARTY);
return false;
}
Party party1 = player.getParty();
Party party2 = target.getParty();
if ((player != party1.getPartyLeader()) || (target != party2.getPartyLeader()))
{
player.sendPacket(SystemMsg.YOU_ARE_UNABLE_TO_REQUEST_A_DUEL_AT_THIS_TIME);
return false;
}
Iterator<Player> iterator = new JoinedIterator<>(party1.iterator(), party2.iterator());
while (iterator.hasNext())
{
Player $member = iterator.next();
IStaticPacket packet = null;