mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00:00
* Fixed possible problem with setting of the spellAbility during card copies (related to eecaa232f5
).
This commit is contained in:
parent
bd9738f128
commit
49ab4e0992
1 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue