1
0
Fork 0
mirror of https://github.com/correl/mage.git synced 2025-04-03 09:18:59 -09:00

changed Copier

This commit is contained in:
BetaSteward 2010-04-16 03:40:33 +00:00
parent dde4aa6965
commit f67ed0211d

View file

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