spjspj - Set Token Descriptor

This commit is contained in:
spjspj 2016-09-07 21:52:52 +10:00
parent df2782fdb6
commit 8342d03ac9
2 changed files with 3 additions and 1 deletions

View file

@ -475,6 +475,7 @@ public class CardView extends SimpleCardView {
this.manaCost = token.getManaCost().getSymbols(); this.manaCost = token.getManaCost().getSymbols();
this.rarity = Rarity.NA; this.rarity = Rarity.NA;
this.type = token.getTokenType(); this.type = token.getTokenType();
this.tokenDescriptor = token.getTokenDescriptor();
this.tokenSetCode = token.getOriginalExpansionSetCode(); this.tokenSetCode = token.getOriginalExpansionSetCode();
} }

View file

@ -142,6 +142,7 @@ public abstract class CardImpl extends MageObjectImpl implements Card {
ownerId = card.ownerId; ownerId = card.ownerId;
cardNumber = card.cardNumber; cardNumber = card.cardNumber;
expansionSetCode = card.expansionSetCode; expansionSetCode = card.expansionSetCode;
tokenDescriptor = card.tokenDescriptor;
rarity = card.rarity; rarity = card.rarity;
canTransform = card.canTransform; canTransform = card.canTransform;