* Thought Hemorrhage, Descendant's Path, Reap Intellect, Shimian Specter, Extirpate, Lobotomy - Fixed wrong search handling in hidden or not hidden zones.

This commit is contained in:
LevelX2 2014-10-23 16:24:12 +02:00
parent a1a54cae14
commit d95f3fff9b
6 changed files with 288 additions and 239 deletions

View file

@ -102,7 +102,7 @@ class DescendantsPathEffect extends OneShotEffect {
if (card.getCardType().contains(CardType.CREATURE)) {
FilterControlledCreaturePermanent filter = new FilterControlledCreaturePermanent();
ArrayList<Predicate<MageObject>> subtypes = new ArrayList<Predicate<MageObject>>();
ArrayList<Predicate<MageObject>> subtypes = new ArrayList<>();
for (String subtype: card.getSubtype()) {
subtypes.add(new SubtypePredicate(subtype));
}