This commit is contained in:
Jeff 2021-01-14 22:11:45 -06:00
parent bddabe11b6
commit 3c8ad2a664

View file

@ -65,6 +65,7 @@ class UnderworldBreachEffect extends ContinuousEffectImpl {
.getCards(game) .getCards(game)
.stream() .stream()
.filter(Objects::nonNull) .filter(Objects::nonNull)
.filter(card -> !card.getManaCost().getText().isEmpty()) // card must have a mana cost
.filter(card -> !card.isLand()) .filter(card -> !card.isLand())
.forEach(card -> { .forEach(card -> {
Ability ability = new EscapeAbility(card, card.getManaCost().getText(), 3); Ability ability = new EscapeAbility(card, card.getManaCost().getText(), 3);