mirror of
https://github.com/correl/mage.git
synced 2024-12-25 19:25:41 +00:00
spjspj - Set Token Descriptor
This commit is contained in:
parent
df2782fdb6
commit
8342d03ac9
2 changed files with 3 additions and 1 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue