mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
- Somewhat cleaner fix related to the previous commit.
This commit is contained in:
@@ -497,7 +497,7 @@ public final class CardPredicates {
|
|||||||
public static final Predicate<Card> LANDS_PRODUCING_MANA = new Predicate<Card>() {
|
public static final Predicate<Card> LANDS_PRODUCING_MANA = new Predicate<Card>() {
|
||||||
@Override
|
@Override
|
||||||
public boolean apply(Card c) {
|
public boolean apply(Card c) {
|
||||||
return c.isLand() && (!c.getManaAbilities().isEmpty() || c.isBasicLand());
|
return c.isBasicLand() || (c.isLand() && !c.getManaAbilities().isEmpty());
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user