From b9c2bf4326290ca84a670d0e38e91ead2a0a14b1 Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Thu, 25 Sep 2014 23:26:26 +0200 Subject: [PATCH] * Fixed a bug of duration "Until your next turn". --- Mage/src/mage/abilities/effects/ContinuousEffectImpl.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Mage/src/mage/abilities/effects/ContinuousEffectImpl.java b/Mage/src/mage/abilities/effects/ContinuousEffectImpl.java index d147059ab0..713fea8bb8 100644 --- a/Mage/src/mage/abilities/effects/ContinuousEffectImpl.java +++ b/Mage/src/mage/abilities/effects/ContinuousEffectImpl.java @@ -30,9 +30,7 @@ package mage.abilities.effects; import java.util.ArrayList; import java.util.Date; -import java.util.HashMap; import java.util.List; -import java.util.Map; import java.util.UUID; import mage.abilities.Ability; import mage.abilities.MageSingleton; @@ -69,7 +67,7 @@ public abstract class ContinuousEffectImpl extends EffectImpl implements Continu protected boolean discarded = false; // for manual effect discard protected boolean affectedObjectsSet = false; protected List objects = new ArrayList<>(); - protected Map metadata = new HashMap<>(); + // protected Map metadata = new HashMap<>(); // until your next turn protected int startingTurn; protected UUID startingControllerId; @@ -97,6 +95,8 @@ public abstract class ContinuousEffectImpl extends EffectImpl implements Continu this.discarded = effect.discarded; this.affectedObjectsSet = effect.affectedObjectsSet; this.objects.addAll(effect.objects); + this.startingTurn = effect.startingTurn; + this.startingControllerId = effect.startingControllerId; } @Override