mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 11:32:00 -08:00
Fix Surge Engine (#9840)
This commit is contained in:
parent
2f0a0c0f03
commit
e2b79ea920
1 changed files with 1 additions and 1 deletions
|
|
@ -80,7 +80,7 @@ enum SurgeEngineCondition implements Condition {
|
|||
return Optional
|
||||
.ofNullable(source.getSourcePermanentIfItStillExists(game))
|
||||
.filter(Objects::nonNull)
|
||||
.map(permanent -> permanent.hasAbility(DefenderAbility.getInstance(), game))
|
||||
.map(permanent -> !permanent.hasAbility(DefenderAbility.getInstance(), game))
|
||||
.orElse(false);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue