mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 04:42:07 -08:00
Added additional fixes for getSpellAbility() usage, related to ce3cf742c9
This commit is contained in:
parent
ce3cf742c9
commit
499f21778d
4 changed files with 4 additions and 4 deletions
|
|
@ -56,7 +56,7 @@ public class ManifestTargetPlayerEffect extends OneShotEffect {
|
|||
for (Card card : cards) {
|
||||
ManaCosts manaCosts = null;
|
||||
if (card.isCreature(game)) {
|
||||
manaCosts = card.getSpellAbility().getManaCosts();
|
||||
manaCosts = card.getSpellAbility() != null ? card.getSpellAbility().getManaCosts() : null;
|
||||
if (manaCosts == null) {
|
||||
manaCosts = new ManaCostsImpl<>("{0}");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue