mirror of
https://github.com/correl/mage.git
synced 2024-11-16 03:00:12 +00:00
fixed Jegantha, the Wellspring Companion Condition
This commit is contained in:
parent
97b741f69f
commit
8e8b2567b3
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ enum JeganthaTheWellspringCompanionCondition implements CompanionCondition {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean isLegal(Set<Card> deck, int startingSize) {
|
public boolean isLegal(Set<Card> deck, int startingSize) {
|
||||||
return deck.stream().allMatch(JeganthaTheWellspringCompanionCondition::checkCard);
|
return deck.stream().noneMatch(JeganthaTheWellspringCompanionCondition::checkCard);
|
||||||
}
|
}
|
||||||
|
|
||||||
private static final boolean checkCard(Card card) {
|
private static final boolean checkCard(Card card) {
|
||||||
|
|
Loading…
Reference in a new issue