Fix spelling of doneChoosing() (#9002)

This commit is contained in:
DeepCrimson 2022-05-25 21:25:15 -07:00 committed by GitHub
parent 1e61efb90e
commit 0c8ef41012
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 30 additions and 30 deletions

View file

@ -9,12 +9,12 @@ import mage.constants.Zone;
import mage.game.Game;
import mage.game.events.GameEvent;
import mage.game.events.TargetEvent;
import mage.game.permanent.Permanent;
import mage.players.Player;
import mage.util.CardUtil;
import mage.util.RandomUtil;
import java.util.*;
import mage.game.permanent.Permanent;
/**
* @author BetaSteward_at_googlemail.com
@ -175,7 +175,7 @@ public abstract class TargetImpl implements Target {
}
@Override
public boolean doneChosing() {
public boolean doneChoosing() {
return getMaxNumberOfTargets() != 0 && targets.size() == getMaxNumberOfTargets();
}
@ -284,7 +284,7 @@ public abstract class TargetImpl implements Target {
return chosen;
}
chosen = targets.size() >= getNumberOfTargets();
} while (!isChosen() && !doneChosing());
} while (!isChosen() && !doneChoosing());
return chosen;
}
@ -321,7 +321,7 @@ public abstract class TargetImpl implements Target {
return chosen;
}
chosen = targets.size() >= getNumberOfTargets();
} while (!isChosen() && !doneChosing());
} while (!isChosen() && !doneChoosing());
return chosen;
}