- Used newer moveCards method in AuraSwapAbility. Take number 2 due to an unstable mind. :)

This commit is contained in:
bonefish 2016-07-17 20:17:51 -05:00
parent f93f0cefb5
commit f4db49ea2d

View file

@ -106,7 +106,7 @@ class AuraSwapEffect extends OneShotEffect {
enchantedPermanent.addAttachment(auraInHand.getId(), game);
game.informPlayers(controller.getLogName() + " put " + auraInHand.getLogName() + " on the battlefield attached to " + enchantedPermanent.getLogName() + ".");
enchantedPermanent.removeAttachment(auraSourcePermanent.getId(), game);
return controller.moveCards(auraInHand, Zone.HAND, source, game);
return controller.moveCards(game.getCard(source.getSourceId()), Zone.HAND, source, game);
}
}
}