replace manual check with method

master
melvin 2013-09-21 18:26:31 +08:00
parent 03709701d6
commit 449c382a8e
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ public class MagicReturnExiledUntilThisLeavesPlayAction extends MagicAction {
final MagicCardList cardList = source.getExiledCards();
exiledList = new MagicCardList(source.getExiledCards());
for (final MagicCard card : cardList) {
if (card.getOwner().getExile().contains(card)) {
if (card.isInExile()) {
game.doAction(new MagicRemoveCardAction(card,MagicLocationType.Exile));
if (location == MagicLocationType.Play) {
if (card.getCardDefinition().isAura()) {