mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 21:29:17 -08:00
followup fix to #12058
This commit is contained in:
parent
8394429a47
commit
31295eb645
1 changed files with 1 additions and 0 deletions
|
|
@ -27,6 +27,7 @@ public enum ControlYourCommanderCondition implements Condition {
|
|||
.flatMap(Collection::stream)
|
||||
.map(game::getPermanent)
|
||||
.filter(Objects::nonNull)
|
||||
.filter(Permanent::isPhasedIn)
|
||||
.map(Permanent::getOwnerId)
|
||||
.anyMatch(source.getControllerId()::equals);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue