forked from External/mage
refactor: improved target usage, replaced setNotTarget by withNotTarget
This commit is contained in:
parent
dbaa51f462
commit
4b3a19b4d5
385 changed files with 434 additions and 429 deletions
|
|
@ -1701,7 +1701,7 @@ public abstract class PermanentImpl extends CardImpl implements Permanent {
|
|||
Player newProtector;
|
||||
if (opponents.size() > 1) {
|
||||
TargetPlayer target = new TargetPlayer(new FilterOpponent("protector for " + getName()));
|
||||
target.setNotTarget(true);
|
||||
target.withNotTarget(true);
|
||||
target.setRequired(true);
|
||||
controller.choose(Outcome.Neutral, target, source, game);
|
||||
newProtector = game.getPlayer(target.getFirstTarget());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue