forked from External/mage
change enum equals to ==
This commit is contained in:
parent
82841c16c6
commit
d01aed42ed
40 changed files with 57 additions and 57 deletions
|
|
@ -139,7 +139,7 @@ public class AlternativeCostSourceAbility extends StaticAbility implements Alter
|
|||
|
||||
@Override
|
||||
public boolean askToActivateAlternativeCosts(Ability ability, Game game) {
|
||||
if (ability != null && AbilityType.SPELL.equals(ability.getAbilityType())) {
|
||||
if (ability != null && AbilityType.SPELL == ability.getAbilityType()) {
|
||||
if (filter != null) {
|
||||
Card card = game.getCard(ability.getSourceId());
|
||||
if (!filter.match(card, ability.getSourceId(), ability.getControllerId(), game)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue