mirror of
https://github.com/magefree/mage.git
synced 2026-01-25 20:59:14 -08:00
* Kaheera, the Orphanguard - Fixed the check for subtypes (e.g. changeling not working).
This commit is contained in:
parent
60cce5c11b
commit
c4082548c8
1 changed files with 1 additions and 1 deletions
|
|
@ -92,7 +92,7 @@ enum KaheeraTheOrphanguardCompanionCondition implements CompanionCondition {
|
|||
);
|
||||
|
||||
private static boolean checkTypes(Card card) {
|
||||
return subtypes.stream().anyMatch(card.getSubtype(null)::contains);
|
||||
return subtypes.stream().anyMatch(subtype -> card.hasSubtype(subtype, null));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue