replace filterTargets with filterPermanents
parent
3c607e9a33
commit
8c8ab3b500
|
@ -31,8 +31,8 @@ public class Novablast_Wurm {
|
|||
final MagicTargetFilter targetFilter =
|
||||
new MagicTargetFilter.MagicOtherPermanentTargetFilter(
|
||||
MagicTargetFilter.TARGET_CREATURE,permanent);
|
||||
final Collection<MagicTarget> targets=
|
||||
game.filterTargets(permanent.getController(),targetFilter);
|
||||
final Collection<MagicPermanent> targets=
|
||||
game.filterPermanents(permanent.getController(),targetFilter);
|
||||
game.doAction(new MagicDestroyAction(targets));
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue