mirror of
https://github.com/correl/mage.git
synced 2025-03-12 17:00:08 -09:00
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:
parent
acb87e81e1
commit
6adbe1674b
1 changed files with 5 additions and 3 deletions
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue