Merge pull request #5687 from ketsuban/singleton

Fix nonbasic land counting in singleton mode
This commit is contained in:
Oleg Agafonov 2019-04-07 07:28:45 +02:00 committed by GitHub
commit e8da92b41d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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));
}