* Kaheera, the Orphanguard - Fixed the check for subtypes (e.g. changeling not working).

This commit is contained in:
LevelX2 2020-06-30 16:22:28 +02:00
parent 60cce5c11b
commit c4082548c8

View file

@ -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