Fixed phased out creatures not removed from combat
package mage.game.permanent;
-import java.util.*;
import mage.MageObject;
import mage.MageObjectReference;
import mage.ObjectColor;
@@ -36,6 +35,8 @@ import mage.util.GameLog;
import mage.util.ThreadLocalStringBuilder;
import org.apache.log4j.Logger;
+import java.util.*;
+
/**
* @author BetaSteward_at_googlemail.com
*/
@@ -493,6 +494,7 @@ public abstract class PermanentImpl extends CardImpl implements Permanent {
attachedPerm.phaseOut(game, true);
}
}
+ this.removeFromCombat(game);
this.phasedIn = false;
this.indirectPhase = indirectPhase;
if (!game.isSimulation()) {
