mirror of
https://github.com/correl/mage.git
synced 2024-11-15 19:19:33 +00:00
Fixed SubtypePredicate so that Mutavault does not count as every basic land type (fixes #617).
This commit is contained in:
parent
b61a5908df
commit
d073efc2b7
1 changed files with 1 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue