mirror of
https://github.com/magefree/mage.git
synced 2025-12-30 07:22:03 -08:00
Test for Exiled and fix.
This commit is contained in:
parent
194ddb06f5
commit
fb8f4c3c67
2 changed files with 22 additions and 0 deletions
|
|
@ -221,6 +221,7 @@ public class PermanentCard extends PermanentImpl<PermanentCard> {
|
|||
if (controller != null && controller.removeFromBattlefield(this, game)) {
|
||||
ZoneChangeEvent event = new ZoneChangeEvent(this, sourceId, ownerId, fromZone, Zone.EXILED);
|
||||
if (!game.replaceEvent(event)) {
|
||||
game.rememberLKI(objectId, Zone.BATTLEFIELD, this);
|
||||
if (exileId == null) {
|
||||
game.getExile().getPermanentExile().add(card);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue