From 67d4ecafbe2443396d72d9c09d0529013f6088b3 Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Sat, 12 Nov 2016 09:05:22 +0100 Subject: [PATCH] Fixed CommanderPredicate (fixed e.g. problem with 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