Merge pull request #5272 from magefree/revert-5255-FixTargetOpponentOrPlaneswalker5252

Revert "Fixes abilities that may target either opponents or planeswalkers"
This commit is contained in:
Oleg Agafonov 2018-08-25 05:14:37 +04:00 committed by GitHub
commit 16368e7ec3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}
}