mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
using hasSubtype instead of getSubtype().contains
This commit is contained in:
parent
d0b405f41b
commit
4cb4d1ea4e
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ class DralnusCrusadeEffect extends ContinuousEffectImpl {
|
||||||
for(Permanent permanent : game.getState().getBattlefield().getActivePermanents(filter, source.getControllerId(), source.getSourceId(), game)) {
|
for(Permanent permanent : game.getState().getBattlefield().getActivePermanents(filter, source.getControllerId(), source.getSourceId(), game)) {
|
||||||
switch (layer) {
|
switch (layer) {
|
||||||
case TypeChangingEffects_4:
|
case TypeChangingEffects_4:
|
||||||
if(!permanent.getSubtype(game).contains("Zombie")) {
|
if(!permanent.hasSubtype("Zombie", game)) {
|
||||||
permanent.getSubtype(game).add("Zombie");
|
permanent.getSubtype(game).add("Zombie");
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue