Fixed phased out creatures not removed from combat (#5200)

This commit is contained in:
Colin Redman 2018-08-05 17:13:42 -06:00
parent 0fa4c2d324
commit 9adfa96667

View file

@ -1,7 +1,6 @@
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()) {