* Fixed possible problem with setting of the spellAbility during card copies (related to eecaa232f5).

This commit is contained in:
LevelX2 2020-07-14 23:06:03 +02:00
parent bd9738f128
commit 49ab4e0992

View file

@ -135,11 +135,11 @@ public abstract class CardImpl extends MageObjectImpl implements Card {
secondSideCardClazz = card.secondSideCardClazz;
nightCard = card.nightCard;
}
if (card.spellAbility != null) {
spellAbility = (SpellAbility) abilities.get(0);
} else {
spellAbility = null;
}
// if (card.spellAbility != null) {
// spellAbility = (SpellAbility) abilities.get(0);
// } else {
spellAbility = null; // will be set on first getSpellAbility call.
// }
flipCard = card.flipCard;
flipCardName = card.flipCardName;