* Phasing- Fixed that permanets with phasing did not phase out at controllers untap step and phased out permanents where count as on the battlefield.

This commit is contained in:
LevelX2 2014-11-23 13:00:58 +01:00
parent bf3fa37e5d
commit fb2d367992
5 changed files with 28 additions and 18 deletions

View file

@ -1247,10 +1247,11 @@ public abstract class PlayerImpl implements Player, Serializable {
@Override
public void phasing(Game game) {
//20091005 - 502.1
List<Permanent> phasedOut = game.getBattlefield().getPhasedOut(playerId);
for (Permanent permanent: game.getBattlefield().getPhasedIn(playerId)) {
permanent.phaseOut(game);
}
for (Permanent permanent: game.getBattlefield().getPhasedOut(playerId)) {
for (Permanent permanent: phasedOut) {
permanent.phaseIn(game);
}
}