forked from External/mage
[ZNR] Improved GUI for modal double faces cards (#7012)
This commit is contained in:
parent
c60bf3ccef
commit
898d271c36
4 changed files with 34 additions and 7 deletions
|
|
@ -579,7 +579,10 @@ public class MageActionCallback implements ActionCallback {
|
|||
break;
|
||||
case ALTERNATE:
|
||||
if (cardView.getAlternateName() != null) {
|
||||
if (cardView instanceof PermanentView && !cardView.isFlipCard() && !cardView.canTransform() && ((PermanentView) cardView).isCopy()) {
|
||||
if (cardView instanceof PermanentView
|
||||
&& !cardView.isFlipCard()
|
||||
&& !cardView.canTransform()
|
||||
&& ((PermanentView) cardView).isCopy()) {
|
||||
image = ImageCache.getImageOriginal(((PermanentView) cardView).getOriginal());
|
||||
} else {
|
||||
image = ImageCache.getImageOriginalAlternateName(cardView);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue