forked from External/mage
fixed validation for partner with abilities (fixes #8482)
This commit is contained in:
parent
a6b2bea8af
commit
941a2be7e9
1 changed files with 1 additions and 1 deletions
|
|
@ -197,7 +197,7 @@ public class Commander extends Constructed {
|
|||
.map(MageObject::getAbilities)
|
||||
.filter(abilities -> abilities.contains(FriendsForeverAbility.getInstance()))
|
||||
.count() != 2
|
||||
&& CardUtil
|
||||
&& !CardUtil
|
||||
.castStream(commanders.stream().map(MageObject::getAbilities), PartnerWithAbility.class)
|
||||
.map(PartnerWithAbility::getPartnerName)
|
||||
.allMatch(commanderNames::contains)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue