mirror of
https://github.com/correl/mage.git
synced 2025-04-03 09:18:59 -09:00
changed Copier
This commit is contained in:
parent
dde4aa6965
commit
f67ed0211d
1 changed files with 1 additions and 4 deletions
|
@ -41,7 +41,6 @@ import mage.abilities.costs.CostsImpl;
|
|||
import mage.abilities.costs.mana.ManaCost;
|
||||
import mage.abilities.costs.mana.ManaCosts;
|
||||
import mage.abilities.effects.ContinuousEffect;
|
||||
import mage.abilities.effects.ContinuousEffectImpl;
|
||||
import mage.abilities.effects.Effect;
|
||||
import mage.abilities.effects.Effects;
|
||||
import mage.abilities.effects.OneShotEffect;
|
||||
|
@ -58,8 +57,6 @@ import mage.util.Copier;
|
|||
*/
|
||||
public abstract class AbilityImpl implements Ability, Serializable {
|
||||
|
||||
protected static Copier<Ability> copier = new Copier<Ability>();
|
||||
|
||||
protected UUID id;
|
||||
protected UUID controllerId;
|
||||
protected UUID sourceId;
|
||||
|
@ -283,6 +280,6 @@ public abstract class AbilityImpl implements Ability, Serializable {
|
|||
|
||||
@Override
|
||||
public Ability copy() {
|
||||
return copier.copy(this);
|
||||
return new Copier<Ability>().copy(this);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue