mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
Merge pull request #5202 from credman0/PhasedOutRemoveFromCombatFix
Fixed phased out creatures not removed from combat (#5200)
This commit is contained in:
commit
dbb25c8683
1 changed files with 3 additions and 1 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Reference in a new issue