mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
Fix the Commander Predicate which was written incorrectly. This fixes Bastion Protector.
This commit is contained in:
parent
aac45f2ad2
commit
c37b782b75
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue