mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 20:11:59 -08:00
Merge pull request #5272 from magefree/revert-5255-FixTargetOpponentOrPlaneswalker5252
Revert "Fixes abilities that may target either opponents or planeswalkers"
This commit is contained in:
commit
16368e7ec3
1 changed files with 1 additions and 2 deletions
|
|
@ -99,8 +99,7 @@ public class TargetPermanentOrPlayer extends TargetImpl {
|
|||
}
|
||||
if (player != null) {
|
||||
if (!isNotTarget()) {
|
||||
if (!player.canBeTargetedBy(targetSource, source.getControllerId(), game)
|
||||
|| !filter.match(player, source.getSourceId(), source.getControllerId(), game)) {
|
||||
if (!player.canBeTargetedBy(targetSource, source.getControllerId(), game)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue