mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00:00
[ZNR] fixed Nahiri, Heir of the Ancients not attaching an equipment (#7046)
This commit is contained in:
parent
58799ba270
commit
317595346d
1 changed files with 1 additions and 4 deletions
|
@ -140,10 +140,7 @@ class NahiriHeirOfTheAncientsEffect extends OneShotEffect {
|
|||
TargetPermanent target = new TargetPermanent(filter);
|
||||
target.setNotTarget(true);
|
||||
player.choose(outcome, target, source.getSourceId(), game);
|
||||
Permanent equipment = game.getPermanent(target.getFirstTarget());
|
||||
if (equipment != null && tokenCreature != null) {
|
||||
equipment.attachTo(tokenCreature.getId(), game);
|
||||
}
|
||||
tokenCreature.addAttachment(target.getFirstTarget(), game);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue