From ed877f772b6e8acaccd45a80b89731957f241be4 Mon Sep 17 00:00:00 2001 From: North Date: Tue, 3 Jul 2012 08:48:19 +0300 Subject: [PATCH] [refactoring][minor] removed unneeded code. --- Mage.Sets/src/mage/sets/tenth/Terror.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Mage.Sets/src/mage/sets/tenth/Terror.java b/Mage.Sets/src/mage/sets/tenth/Terror.java index cf1cf3ed77..d2724552fb 100644 --- a/Mage.Sets/src/mage/sets/tenth/Terror.java +++ b/Mage.Sets/src/mage/sets/tenth/Terror.java @@ -33,7 +33,6 @@ import mage.Constants.Rarity; import mage.abilities.effects.common.DestroyTargetEffect; import mage.cards.CardImpl; import mage.filter.common.FilterCreaturePermanent; -import mage.target.Target; import mage.target.common.TargetCreaturePermanent; /** @@ -58,9 +57,7 @@ public class Terror extends CardImpl { this.color.setBlack(true); // Destroy target nonartifact, nonblack creature. It can't be regenerated. - Target target = new TargetCreaturePermanent(filter); - target.setTargetName("nonartifact, nonblack creature"); - this.getSpellAbility().addTarget(target); + this.getSpellAbility().addTarget(new TargetCreaturePermanent(filter)); this.getSpellAbility().addEffect(new DestroyTargetEffect(true)); }