mirror of
https://github.com/correl/mage.git
synced 2025-04-07 17:00:08 -09:00
* Synod Sanctum - Fixed a problem of the move permanent to exile effect (fixes #2572).
This commit is contained in:
parent
bfb2924966
commit
dbbbbb5aec
1 changed files with 4 additions and 3 deletions
|
@ -112,12 +112,13 @@ class SynodSanctumEffect extends OneShotEffect {
|
|||
Permanent permanent = game.getPermanent(getTargetPointer().getFirst(game, source));
|
||||
if (permanent != null) {
|
||||
UUID exileZone = CardUtil.getExileZoneId(game, source.getSourceId(), source.getSourceObjectZoneChangeCounter());
|
||||
if (exileZone != null && controller.moveCardToExileWithInfo(permanent, exileZone, sourceObject.getIdName(), source.getId(), game, Zone.BATTLEFIELD, true)) {
|
||||
if (exileZone != null) {
|
||||
controller.moveCardToExileWithInfo(permanent, exileZone, sourceObject.getIdName(), source.getSourceId(), game, Zone.BATTLEFIELD, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue