mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
- Fixed "Play with the top card of your library revealed." for commanders
This commit is contained in:
@@ -411,7 +411,7 @@ public class CardDetailPanel extends FPanel {
|
|||||||
if ((card.hasKeyword("Play with the top card of your library revealed.") || card
|
if ((card.hasKeyword("Play with the top card of your library revealed.") || card
|
||||||
.hasKeyword("Players play with the top card of their libraries revealed."))
|
.hasKeyword("Players play with the top card of their libraries revealed."))
|
||||||
&& card.getController() != null
|
&& card.getController() != null
|
||||||
&& (card.isInZone(ZoneType.Battlefield) || card.isInZone(ZoneType.Command))
|
&& (card.isInZone(ZoneType.Battlefield) || (card.isInZone(ZoneType.Command) && !card.isCommander()))
|
||||||
&& !card.getController().getZone(ZoneType.Library).isEmpty()) {
|
&& !card.getController().getZone(ZoneType.Library).isEmpty()) {
|
||||||
area.append("\r\nTop card of your library: ");
|
area.append("\r\nTop card of your library: ");
|
||||||
area.append(card.getController().getCardsIn(ZoneType.Library, 1));
|
area.append(card.getController().getCardsIn(ZoneType.Library, 1));
|
||||||
|
|||||||
Reference in New Issue
Block a user