mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
- Used newer moveCards method in AuraSwapAbility. Take number 2 due to an unstable mind. :)
This commit is contained in:
parent
f93f0cefb5
commit
f4db49ea2d
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ class AuraSwapEffect extends OneShotEffect {
|
||||||
enchantedPermanent.addAttachment(auraInHand.getId(), game);
|
enchantedPermanent.addAttachment(auraInHand.getId(), game);
|
||||||
game.informPlayers(controller.getLogName() + " put " + auraInHand.getLogName() + " on the battlefield attached to " + enchantedPermanent.getLogName() + ".");
|
game.informPlayers(controller.getLogName() + " put " + auraInHand.getLogName() + " on the battlefield attached to " + enchantedPermanent.getLogName() + ".");
|
||||||
enchantedPermanent.removeAttachment(auraSourcePermanent.getId(), game);
|
enchantedPermanent.removeAttachment(auraSourcePermanent.getId(), game);
|
||||||
return controller.moveCards(auraInHand, Zone.HAND, source, game);
|
return controller.moveCards(game.getCard(source.getSourceId()), Zone.HAND, source, game);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue