From c37b782b7537419cd698d61dd3d406a18b950e7e Mon Sep 17 00:00:00 2001 From: Dilnu Date: Sun, 13 Nov 2016 20:05:52 -0500 Subject: [PATCH] Fix the Commander Predicate which was written incorrectly. This fixes Bastion Protector. --- .../mage/filter/predicate/permanent/CommanderPredicate.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mage/src/main/java/mage/filter/predicate/permanent/CommanderPredicate.java b/Mage/src/main/java/mage/filter/predicate/permanent/CommanderPredicate.java index 9324bcb64b..c96298c33f 100644 --- a/Mage/src/main/java/mage/filter/predicate/permanent/CommanderPredicate.java +++ b/Mage/src/main/java/mage/filter/predicate/permanent/CommanderPredicate.java @@ -22,7 +22,7 @@ public class CommanderPredicate implements Predicate { 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