fixed Jegantha, the Wellspring Companion Condition

This commit is contained in:
Evan Kranzler 2020-04-16 18:41:13 -04:00
parent 97b741f69f
commit 8e8b2567b3

View file

@ -65,7 +65,7 @@ enum JeganthaTheWellspringCompanionCondition implements CompanionCondition {
@Override
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) {