forked from External/mage
Change supertype method in constructors (#10361)
* replace addSuperType with supertype.add in card constructors * more supertype replacements * update MDFC supertype implementation * remove unnecessary class * update test
This commit is contained in:
parent
4cc9329b15
commit
a850e3660b
2452 changed files with 2651 additions and 2731 deletions
|
|
@ -1049,8 +1049,7 @@ public class ComputerPlayer extends PlayerImpl implements Player {
|
|||
return target.isChosen();
|
||||
}
|
||||
|
||||
if (target.getOriginalTarget() instanceof TargetActivatedOrTriggeredAbility
|
||||
|| target.getOriginalTarget() instanceof TargetActivatedOrTriggeredAbilityOrLegendarySpell) {
|
||||
if (target.getOriginalTarget() instanceof TargetActivatedOrTriggeredAbility) {
|
||||
Iterator<UUID> iterator = target.possibleTargets(source.getControllerId(), source, game).iterator();
|
||||
while (!target.isChosen() && iterator.hasNext()) {
|
||||
target.addTarget(iterator.next(), source, game);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue