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)
.stream()
.filter(Objects::nonNull)
.filter(card -> !card.getManaCost().getText().isEmpty()) // card must have a mana cost
.filter(card -> !card.isLand())
.forEach(card -> {
Ability ability = new EscapeAbility(card, card.getManaCost().getText(), 3);