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
|
|
@ -218,7 +218,7 @@ public class Spell extends StackObjImpl implements Card {
|
|||
for (UUID modeId : spellAbility.getModes().getSelectedModes()) {
|
||||
spellAbility.getModes().setActiveMode(modeId);
|
||||
if (spellAbility.getTargets().stillLegal(spellAbility, game)) {
|
||||
if (!spellAbility.getSpellAbilityType().equals(SpellAbilityType.SPLICE)) {
|
||||
if (spellAbility.getSpellAbilityType() != SpellAbilityType.SPLICE) {
|
||||
updateOptionalCosts(index);
|
||||
}
|
||||
result |= spellAbility.resolve(game);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue