mirror of
https://github.com/magefree/mage.git
synced 2025-12-26 05:22:02 -08:00
removed empty mode constructor
This commit is contained in:
parent
ccecda52fd
commit
3535d023b7
214 changed files with 326 additions and 654 deletions
|
|
@ -18,10 +18,6 @@ public class Mode implements Serializable {
|
|||
protected final Effects effects;
|
||||
protected String flavorWord;
|
||||
|
||||
public Mode() {
|
||||
this((Effect) null);
|
||||
}
|
||||
|
||||
public Mode(Effect effect) {
|
||||
this.id = UUID.randomUUID();
|
||||
this.targets = new Targets();
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ package mage.abilities;
|
|||
|
||||
import mage.abilities.condition.Condition;
|
||||
import mage.abilities.costs.OptionalAdditionalModeSourceCosts;
|
||||
import mage.abilities.effects.Effect;
|
||||
import mage.cards.Card;
|
||||
import mage.constants.Outcome;
|
||||
import mage.constants.TargetController;
|
||||
|
|
@ -42,7 +43,7 @@ public class Modes extends LinkedHashMap<UUID, Mode> {
|
|||
private boolean mayChooseNone = false;
|
||||
|
||||
public Modes() {
|
||||
this.currentMode = new Mode();
|
||||
this.currentMode = new Mode((Effect) null);
|
||||
this.put(currentMode.getId(), currentMode);
|
||||
this.minModes = 1;
|
||||
this.maxModes = 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue