mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
Fixed CommanderPredicate (fixed e.g. problem with Bastion Protector).
This commit is contained in:
parent
c84d7ef49b
commit
67d4ecafbe
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