Fixed CommanderPredicate (fixed e.g. problem with Bastion Protector).

This commit is contained in:
LevelX2 2016-11-12 09:05:22 +01:00
parent c84d7ef49b
commit 67d4ecafbe

View file

@ -22,7 +22,7 @@ public class CommanderPredicate implements Predicate<Permanent> {
Player owner = game.getPlayer(input.getOwnerId());
return input.getCardType().contains(CardType.CREATURE)
&& owner != null
&& input.getId().equals(owner.getCommandersIds());
&& owner.getCommandersIds().contains(input.getId());
}
@Override