- Reverted old fix 08d9e8cfa0. It is no longer required for Animate Dead and friends.

This commit is contained in:
jeff@delmarus.com 2023-01-28 11:34:46 -06:00
parent 4aedf44bdf
commit cdef28e1b4

View file

@ -109,12 +109,8 @@ public class PermanentCard extends PermanentImpl {
} else {
// copy only own abilities; all dynamic added abilities must be added in the parent call
this.abilities = card.getAbilities().copy();
// only set spellAbility to null if it has no targets IE: Dance of the Dead bug #7031
if (this.getSpellAbility() != null
&& this.getSpellAbility().getTargets().isEmpty()) {
this.spellAbility = null; // will be set on first getSpellAbility call if card has one.
}
}
this.abilities.setControllerId(this.controllerId);
this.abilities.setSourceId(objectId);
this.cardType.clear();