change getSubtype(game).contains(..) to hasSubtype(..) to include check on Changelings

This commit is contained in:
igoudt 2017-05-13 23:34:28 +02:00
parent e5a69134c8
commit 265cf408f9
23 changed files with 28 additions and 34 deletions

View file

@ -66,7 +66,7 @@ public class BecomesBlackZombieAdditionEffect extends ContinuousEffectImpl {
switch (layer) {
case TypeChangingEffects_4:
if (sublayer == SubLayer.NA) {
if (!creature.getSubtype(game).contains("Zombie")) {
if (!creature.hasSubtype("Zombie", game)) {
creature.getSubtype(game).add("Zombie");
}
}