From 788a1be01ef9da7deea57a8129707d671b43f58b Mon Sep 17 00:00:00 2001 From: Thomas Winwood Date: Sun, 7 Apr 2019 06:14:14 +0100 Subject: [PATCH] Fix nonbasic land counting in singleton mode --- .../main/java/mage/client/deck/generator/DeckGeneratorPool.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mage.Client/src/main/java/mage/client/deck/generator/DeckGeneratorPool.java b/Mage.Client/src/main/java/mage/client/deck/generator/DeckGeneratorPool.java index c58ae335d5..cf77d9d09e 100644 --- a/Mage.Client/src/main/java/mage/client/deck/generator/DeckGeneratorPool.java +++ b/Mage.Client/src/main/java/mage/client/deck/generator/DeckGeneratorPool.java @@ -136,7 +136,7 @@ public class DeckGeneratorPool int cardCount = getCardCount((card.getName())); // No need to check if the land is valid for the colors chosen // They are all filtered before searching for lands to include in the deck. - return (cardCount < 4); + return (cardCount < (isSingleton ? 1 : 4)); }