Test for Exiled and fix.

This commit is contained in:
magenoxx 2012-03-26 09:20:30 +04:00
parent 194ddb06f5
commit fb8f4c3c67
2 changed files with 22 additions and 0 deletions

View file

@ -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 {