* 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:
LevelX2 2014-11-04 17:34:15 +01:00
parent 92fbe1c8a3
commit 3f71fe64b0
2 changed files with 40 additions and 2 deletions

View file

@ -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();