Fixed SubtypePredicate so that Mutavault does not count as every basic land type (fixes #617).

This commit is contained in:
LevelX2 2014-11-11 01:50:42 +01:00
parent b61a5908df
commit d073efc2b7

View file

@ -46,11 +46,7 @@ public class SubtypePredicate implements Predicate<MageObject> {
@Override
public boolean apply(MageObject input, Game game) {
if (input.getAbilities().contains(ChangelingAbility.getInstance()) || input.getSubtype().contains(ChangelingAbility.ALL_CREATURE_TYPE)) {
return true;
}
return input.getSubtype().contains(subtype);
return input.hasSubtype(subtype);
}
@Override