mirror of
https://github.com/correl/mage.git
synced 2025-04-13 09:11:06 -09: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
Reference in a new issue