Fix the Commander Predicate which was written incorrectly. This fixes Bastion Protector.

This commit is contained in:
Dilnu 2016-11-13 20:05:52 -05:00
parent aac45f2ad2
commit c37b782b75

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