forked from External/mage
added addCardType to MageObject
This commit is contained in:
parent
cf6fe27f7d
commit
8b90f87af6
52 changed files with 72 additions and 72 deletions
|
|
@ -122,7 +122,7 @@ public class CopyEffect extends ContinuousEffectImpl {
|
|||
permanent.getManaCost().add(copyFromObject.getManaCost());
|
||||
permanent.getCardType().clear();
|
||||
for (CardType type : copyFromObject.getCardType()) {
|
||||
permanent.getCardType().add(type);
|
||||
permanent.addCardType(type);
|
||||
}
|
||||
permanent.getSubtype(game).clear();
|
||||
for (String type : copyFromObject.getSubtype(game)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue