mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
- Committed a previously missing predicate.
This commit is contained in:
@@ -491,6 +491,15 @@ public final class CardPredicates {
|
||||
return c.isLand();
|
||||
}
|
||||
};
|
||||
/**
|
||||
* a Predicate<Card> to get all mana-producing lands.
|
||||
*/
|
||||
public static final Predicate<Card> LANDS_PRODUCING_MANA = new Predicate<Card>() {
|
||||
@Override
|
||||
public boolean apply(Card c) {
|
||||
return c.isLand() && !c.getManaAbilities().isEmpty();
|
||||
}
|
||||
};
|
||||
/**
|
||||
* a Predicate<Card> to get all permanents.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user