Fixed morphed card text not showing up in details panel with Lens of Clarity on the battlefield. Added reminder to the details panel that morphed cards can be looked at when you control a Lens of Clarity.

This commit is contained in:
Krazy
2014-09-13 23:18:23 +00:00
parent 20ef2a9d27
commit 2544d5c8f5

View File

@@ -250,6 +250,12 @@ public class CardDetailPanel extends SkinnedPanel {
// fill the card text
this.cdArea.setText(FSkin.encodeSymbols(CardDetailUtil.composeCardText(card, canShowThis), true));
if (card.isFaceDown() && card.isInZone(ZoneType.Battlefield)) {
this.nameCostLabel.setText("???");
this.typeLabel.setText("Creature");
this.cdArea.setText(FSkin.encodeSymbols("(You may look at this card.)", true));
}
SwingUtilities.invokeLater(new Runnable() {
@Override
public void run() {