From 5e5b4713ea7648a411c943b195bc25d898cd6262 Mon Sep 17 00:00:00 2001 From: Oleg Agafonov Date: Thu, 2 Jan 2020 05:55:44 +0400 Subject: [PATCH] * Adventure cards - fixed wrong card name on the stack in image render mode; --- .../main/java/org/mage/card/arcane/CardPanelComponentImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mage.Client/src/main/java/org/mage/card/arcane/CardPanelComponentImpl.java b/Mage.Client/src/main/java/org/mage/card/arcane/CardPanelComponentImpl.java index 5c97f2c59e..523d97a111 100644 --- a/Mage.Client/src/main/java/org/mage/card/arcane/CardPanelComponentImpl.java +++ b/Mage.Client/src/main/java/org/mage/card/arcane/CardPanelComponentImpl.java @@ -362,7 +362,7 @@ public class CardPanelComponentImpl extends CardPanel { } private void setTitle(CardView card) { - titleText.setText(!displayTitleAnyway && hasImage ? "" : card.getName()); + titleText.setText(!displayTitleAnyway && hasImage ? "" : card.getDisplayName()); } private void setImage(BufferedImage srcImage) {