mirror of
https://github.com/correl/mage.git
synced 2024-11-24 19:19:56 +00: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,9 +429,11 @@ public class CardView extends SimpleCardView {
|
|||
this.cardIcons.add(FaceDownCardIcon.instance);
|
||||
}
|
||||
// commander
|
||||
Player owner = game.getPlayer(game.getOwnerId(permanent));
|
||||
if (owner != null && game.isCommanderObject(owner, permanent)) {
|
||||
this.cardIcons.add(CommanderCardIcon.instance);
|
||||
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()) {
|
||||
|
|
Loading…
Reference in a new issue