mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 10:40:06 -08:00
parent
4e5bfee279
commit
47e2bf9960
1 changed files with 1 additions and 1 deletions
|
|
@ -100,7 +100,7 @@ class TheAethersparkEffect extends RestrictionEffect {
|
|||
@Override
|
||||
public boolean applies(Permanent permanent, Ability source, Game game) {
|
||||
return Optional
|
||||
.ofNullable(source.getControllerId())
|
||||
.ofNullable(source.getSourceId())
|
||||
.map(game::getPermanent)
|
||||
.map(Permanent::getAttachedTo)
|
||||
.map(game::getPermanent)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue