public Duel getDuel(ArenaPlayer player) { for (Duel d : formingDuels) { if (d.hasChallenger(player)) { return d; } } return getChallengedDuel(player); }
public boolean hasChallenger(ArenaPlayer player) { for (Duel d : formingDuels) { if (d.hasChallenger(player)) { return true; } } return false; }