forked from External/mage
cleanup to use ObjectColor.COLORLESS (#10447)
* Replace for BecomesColorSourceEffect * Replace for BecomesColorTargetEffect * Remove unused class * Use common static instance
This commit is contained in:
parent
7b2f6b3d46
commit
2cdfb255cf
14 changed files with 23 additions and 183 deletions
|
|
@ -45,7 +45,6 @@ public class StackAbility extends StackObjectImpl implements Ability {
|
|||
|
||||
private static final List<CardType> emptyCardType = Collections.unmodifiableList(new ArrayList<>());
|
||||
private static final List<String> emptyString = Collections.unmodifiableList(new ArrayList<>());
|
||||
private static final ObjectColor emptyColor = new ObjectColor();
|
||||
private static final ManaCosts<ManaCost> emptyCost = new ManaCostsImpl<>();
|
||||
private static final Costs<Cost> emptyCosts = new CostsImpl<>();
|
||||
private static final Abilities<Ability> emptyAbilites = new AbilitiesImpl<>();
|
||||
|
|
@ -223,12 +222,12 @@ public class StackAbility extends StackObjectImpl implements Ability {
|
|||
|
||||
@Override
|
||||
public ObjectColor getColor() {
|
||||
return emptyColor;
|
||||
return ObjectColor.COLORLESS;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ObjectColor getColor(Game game) {
|
||||
return emptyColor;
|
||||
return ObjectColor.COLORLESS;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue