forked from External/mage
AuraReplacementEffect fix - changed source id to the Aura's ID and not the ability source ID.
This commit is contained in:
parent
379c57434c
commit
93018628df
1 changed files with 1 additions and 1 deletions
|
|
@ -86,7 +86,7 @@ public class AuraReplacementEffect extends ReplacementEffectImpl<AuraReplacement
|
|||
if (targetId == null) {
|
||||
Target target = card.getSpellAbility().getTargets().get(0);
|
||||
Player player = game.getPlayer(card.getOwnerId());
|
||||
if (player != null && player.choose(Outcome.BoostCreature, target, sourceId, game)) {
|
||||
if (player != null && player.choose(Outcome.BoostCreature, target, card.getId(), game)) {
|
||||
targetId = target.getFirstTarget();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue