Remove explicit set of required property in constructor

This commit is contained in:
Quercitron 2014-06-13 15:15:16 +04:00
parent 250909a464
commit 0a0983d7e9
2272 changed files with 2454 additions and 2538 deletions

View file

@ -52,7 +52,7 @@ public class Flight extends CardImpl {
this.expansionSetCode = "M12";
this.subtype.add("Aura");
this.color.setBlue(true);
TargetPermanent auraTarget = new TargetCreaturePermanent(true);
TargetPermanent auraTarget = new TargetCreaturePermanent();
this.getSpellAbility().addTarget(auraTarget);
this.getSpellAbility().addEffect(new AttachEffect(Outcome.AddAbility));
Ability ability = new EnchantAbility(auraTarget.getTargetName());