- Fixed "Play with the top card of your library revealed." for commanders

This commit is contained in:
swordshine
2013-09-06 14:35:33 +00:00
parent f9d749e2cb
commit e18b3b3537

View File

@@ -411,7 +411,7 @@ public class CardDetailPanel extends FPanel {
if ((card.hasKeyword("Play with the top card of your library revealed.") || card
.hasKeyword("Players play with the top card of their libraries revealed."))
&& 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()) {
area.append("\r\nTop card of your library: ");
area.append(card.getController().getCardsIn(ZoneType.Library, 1));