mirror of
https://github.com/correl/mage.git
synced 2025-01-12 19:25:44 +00:00
changed Copier
This commit is contained in:
parent
f67ed0211d
commit
422c5d59a5
1 changed files with 1 additions and 3 deletions
|
@ -44,8 +44,6 @@ import mage.watchers.Watchers;
|
||||||
|
|
||||||
public abstract class CardImpl extends MageObjectImpl implements Card {
|
public abstract class CardImpl extends MageObjectImpl implements Card {
|
||||||
|
|
||||||
private static final transient Copier<Card> copier = new Copier<Card>();
|
|
||||||
|
|
||||||
protected UUID ownerId;
|
protected UUID ownerId;
|
||||||
protected String art = "";
|
protected String art = "";
|
||||||
protected Watchers watchers = new Watchers();
|
protected Watchers watchers = new Watchers();
|
||||||
|
@ -115,7 +113,7 @@ public abstract class CardImpl extends MageObjectImpl implements Card {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Card copy() {
|
public Card copy() {
|
||||||
return copier.copy(this);
|
return new Copier<Card>().copy(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue