* Oathbreaker: Signature spell did not return to command zone if exiled (fixes #6870).

This commit is contained in:
LevelX2 2020-07-21 23:46:55 +02:00
parent 7f3b24365e
commit b965bddf92
2 changed files with 14 additions and 4 deletions

View file

@ -4297,10 +4297,12 @@ public abstract class PlayerImpl implements Player, Serializable {
game.getStack().remove(spell, game);
}
}
game.informPlayers(this.getLogName() + " moves " + (withName ? card.getLogName()
+ (card.isCopy() ? " (Copy)" : "") : "a card face down") + ' '
+ (fromZone != null ? "from " + fromZone.toString().toLowerCase(Locale.ENGLISH)
+ ' ' : "") + "to the exile zone");
if (Zone.EXILED.equals(game.getState().getZone(card.getId()))) { // only if target zone was not replaced
game.informPlayers(this.getLogName() + " moves " + (withName ? card.getLogName()
+ (card.isCopy() ? " (Copy)" : "") : "a card face down") + ' '
+ (fromZone != null ? "from " + fromZone.toString().toLowerCase(Locale.ENGLISH)
+ ' ' : "") + "to the exile zone");
}
}
result = true;