Fixes Flickerform to return the exiled creature under the creature's owner's control, instead of its own owner's control. #5084

This commit is contained in:
Kevin Shin 2018-08-23 02:55:47 -05:00
parent 09f5af154e
commit 9f470e2bd0

View file

@ -156,8 +156,9 @@ class FlickerformReturnEffect extends OneShotEffect {
}
ExileZone exileZone = game.getExile().getExileZone(exileZoneId);
Card enchantedCard = exileZone.get(enchantedCardId, game);
Player owner = game.getPlayer(enchantedCard.getOwnerId());
if (enchantedCard != null) {
controller.moveCards(enchantedCard, Zone.BATTLEFIELD, source, game);
owner.moveCards(enchantedCard, Zone.BATTLEFIELD, source, game);
Permanent newPermanent = game.getPermanent(enchantedCardId);
if (newPermanent != null) {
Set<Card> toBattlefieldAttached = new HashSet<Card>();