mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 10:40:06 -08:00
* GUI: fixed that Card Viewer can't open tokens list;
This commit is contained in:
parent
f827924b8c
commit
88484f5a1e
1 changed files with 5 additions and 3 deletions
|
|
@ -429,10 +429,12 @@ public class CardView extends SimpleCardView {
|
|||
this.cardIcons.add(FaceDownCardIcon.instance);
|
||||
}
|
||||
// commander
|
||||
if (game != null) {
|
||||
Player owner = game.getPlayer(game.getOwnerId(permanent));
|
||||
if (owner != null && game.isCommanderObject(owner, permanent)) {
|
||||
this.cardIcons.add(CommanderCardIcon.instance);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (card.isCopy()) {
|
||||
this.mageObjectType = MageObjectType.COPY_CARD;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue