using hasSubtype instead of getSubtype().contains

This commit is contained in:
Brik Royster 2016-12-28 00:31:49 -07:00
parent d0b405f41b
commit 4cb4d1ea4e

View file

@ -93,7 +93,7 @@ class DralnusCrusadeEffect extends ContinuousEffectImpl {
for(Permanent permanent : game.getState().getBattlefield().getActivePermanents(filter, source.getControllerId(), source.getSourceId(), game)) {
switch (layer) {
case TypeChangingEffects_4:
if(!permanent.getSubtype(game).contains("Zombie")) {
if(!permanent.hasSubtype("Zombie", game)) {
permanent.getSubtype(game).add("Zombie");
}
break;