forked from External/mage
Remove explicit set of required property in constructor
This commit is contained in:
parent
250909a464
commit
0a0983d7e9
2272 changed files with 2454 additions and 2538 deletions
|
|
@ -50,21 +50,11 @@ public class TargetPermanent extends TargetObject {
|
|||
public TargetPermanent() {
|
||||
this(1, 1, new FilterPermanent(), false);
|
||||
}
|
||||
|
||||
public TargetPermanent(boolean required) {
|
||||
this(1, 1, new FilterPermanent(), false);
|
||||
this.setRequired(required);
|
||||
}
|
||||
|
||||
public TargetPermanent(FilterPermanent filter) {
|
||||
this(1, 1, filter, false);
|
||||
}
|
||||
|
||||
public TargetPermanent(FilterPermanent filter, boolean required) {
|
||||
this(1, 1, filter, false);
|
||||
this.required = required;
|
||||
}
|
||||
|
||||
public TargetPermanent(int numTargets, FilterPermanent filter) {
|
||||
this(numTargets, numTargets, filter, false);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue