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
|
|
@ -93,7 +93,7 @@ public class CopyTokenFunction implements Function<Token, Card> {
|
|||
target.getManaCost().add(sourceObj.getManaCost());
|
||||
target.getCardType().clear();
|
||||
for (CardType type : sourceObj.getCardType()) {
|
||||
target.getCardType().add(type);
|
||||
target.addCardType(type);
|
||||
}
|
||||
target.getSubtype(null).clear();
|
||||
for (String type : sourceObj.getSubtype(null)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue