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