Fix 'chosen' spelling (#9021)

This commit is contained in:
DeepCrimson 2022-05-27 20:45:07 -07:00 committed by GitHub
parent 74a16d179f
commit 9084180937
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
26 changed files with 103 additions and 103 deletions

View file

@ -44,7 +44,7 @@ public abstract class TargetPermanentOrPlayerAmount extends TargetAmount {
@Override
public boolean canTarget(UUID objectId, Game game) {
// max targets limit reached (only selected can be choosen again)
// max targets limit reached (only selected can be chosen again)
if (getMaxNumberOfTargets() > 0 && getTargets().size() >= getMaxNumberOfTargets()) {
return getTargets().contains(objectId);
}
@ -60,7 +60,7 @@ public abstract class TargetPermanentOrPlayerAmount extends TargetAmount {
@Override
public boolean canTarget(UUID objectId, Ability source, Game game) {
// max targets limit reached (only selected can be choosen again)
// max targets limit reached (only selected can be chosen again)
if (getMaxNumberOfTargets() > 0 && getTargets().size() >= getMaxNumberOfTargets()) {
return getTargets().contains(objectId);
}
@ -147,7 +147,7 @@ public abstract class TargetPermanentOrPlayerAmount extends TargetAmount {
public Set<UUID> possibleTargets(UUID sourceControllerId, Ability source, Game game) {
Set<UUID> possibleTargets = new HashSet<>();
// max targets limit reached (only selected can be choosen again)
// max targets limit reached (only selected can be chosen again)
if (getMaxNumberOfTargets() > 0 && getTargets().size() >= getMaxNumberOfTargets()) {
possibleTargets.addAll(getTargets());
return possibleTargets;
@ -181,7 +181,7 @@ public abstract class TargetPermanentOrPlayerAmount extends TargetAmount {
public Set<UUID> possibleTargets(UUID sourceControllerId, Game game) {
Set<UUID> possibleTargets = new HashSet<>();
// max targets limit reached (only selected can be choosen again)
// max targets limit reached (only selected can be chosen again)
if (getMaxNumberOfTargets() > 0 && getTargets().size() >= getMaxNumberOfTargets()) {
possibleTargets.addAll(getTargets());
return possibleTargets;