forked from External/mage
change getLibrary().size() > 0 to hasCards()
This commit is contained in:
parent
d6e4ef793e
commit
1caf3a6be4
131 changed files with 186 additions and 220 deletions
|
|
@ -34,7 +34,7 @@ public class RevealTopLandToBattlefieldElseHandEffect extends OneShotEffect {
|
|||
if (sourceObject == null || controller == null) {
|
||||
return false;
|
||||
}
|
||||
if (controller.getLibrary().size() > 0) {
|
||||
if (controller.getLibrary().hasCards()) {
|
||||
CardsImpl cards = new CardsImpl();
|
||||
Card card = controller.getLibrary().getFromTop(game);
|
||||
if (card == null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue