This commit is contained in:
Alex W. Jackson 2022-04-13 19:48:52 -04:00
parent a8ee7b3046
commit 66aa7f9083

View file

@ -13,7 +13,7 @@ public enum DefendingPlayerOwnsCardPredicate implements ObjectSourcePlayerPredic
@Override
public boolean apply(ObjectSourcePlayer<Card> input, Game game) {
return game.getCombat().getPlayerDefenders(game, false).contains(input.getObject().getOwnerId());
return input.getObject().isOwnedBy(game.getCombat().getDefendingPlayerId(input.getSourceId(), game));
}
@Override