}
else if(duel.isPartyDuel())
{
if(duel.getPlayerA().getParty() != null && duel.getPlayerA().getParty().getPartyMembers().contains(player))
{
duel.broadcastToTeam2(packet);
}
else if(duel.getPlayerB().getParty() != null && duel.getPlayerB().getParty().getPartyMembers().contains(player))
{
duel.broadcastToTeam1(packet);
}