mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 21:12:04 -08:00
change getSubtype(game).contains(..) to hasSubtype(..) to include check on Changelings
This commit is contained in:
parent
e5a69134c8
commit
265cf408f9
23 changed files with 28 additions and 34 deletions
|
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue