Removed the removal of the original subtypes of the enchanted card. E. g. "Enchant Plains" or "Enchant Swamp" enchantments need the subtype to have legal targets.

This commit is contained in:
LevelX2 2012-09-19 21:42:46 +02:00
parent acb87e81e1
commit 6adbe1674b

View file

@ -81,9 +81,11 @@ public class BecomesCreatureAttachedEffect extends ContinuousEffectImpl<BecomesC
}
}
}
if ("".equals(type) || type == null) {
permanent.getSubtype().clear();
}
// commented out the removal of the subtypes because for the e.g. "Enchant Plains" enchantments it's needed else the enchantments goes to graveyard.
// Is it needed for anything or can it be completely removed?
// if ("".equals(type) || type == null) {
// permanent.getSubtype().clear();
// }
if (token.getSubtype().size() > 0) {
permanent.getSubtype().addAll(token.getSubtype());
}