mirror of
https://github.com/magefree/mage.git
synced 2025-12-28 06:22:01 -08:00
* Fixed a bug that set wrong or did not reset to owner the controllerId of card abilities (could be a fix to #604).
This commit is contained in:
parent
92fbe1c8a3
commit
3f71fe64b0
2 changed files with 40 additions and 2 deletions
|
|
@ -86,7 +86,7 @@ public class PermanentCard extends PermanentImpl {
|
|||
protected void copyFromCard(Card card) {
|
||||
this.name = card.getName();
|
||||
this.abilities.clear();
|
||||
this.abilities.addAll(card.getAbilities());
|
||||
this.abilities.addAll(card.getAbilities().copy());
|
||||
this.abilities.setControllerId(this.controllerId);
|
||||
this.watchers.addAll(card.getWatchers());
|
||||
this.cardType.clear();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue