mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
Fixed a bug recently added to ExileSourceEffect.
This commit is contained in:
parent
7ea4cc6ed0
commit
89fe41379a
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ public class ExileSourceEffect extends OneShotEffect<ExileSourceEffect> {
|
|||
// try to exile card -> is this correct in all cases? (LevelX2)
|
||||
Card card = game.getCard(source.getSourceId());
|
||||
if (card != null) {
|
||||
return controller.moveCardToExileWithInfo(permanent, null, null, source.getSourceId(), game, null);
|
||||
return controller.moveCardToExileWithInfo(card, null, null, source.getSourceId(), game, null);
|
||||
}
|
||||
}
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue