mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
[MRD] fixed MIrror Golem error (fixes #7814)
This commit is contained in:
parent
3fc28b3c03
commit
d5e1e95155
1 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,5 @@
|
|||
package mage.cards.m;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
|
@ -20,8 +19,9 @@ import mage.players.Player;
|
|||
import mage.target.common.TargetCardInGraveyard;
|
||||
import mage.util.CardUtil;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author noahg
|
||||
*/
|
||||
public final class MirrorGolem extends CardImpl {
|
||||
|
@ -121,7 +121,7 @@ class MirrorGolemEffect extends ContinuousEffectImpl {
|
|||
filterCard = new FilterCard(cardType.toString() + "s");
|
||||
}
|
||||
filterCard.add(cardType.getPredicate());
|
||||
sourceObject.addAbility(new ProtectionAbility(filterCard));
|
||||
sourceObject.addAbility(new ProtectionAbility(filterCard), source.getSourceId(), game);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue