Fixed Collectors League prize support

No longer gives Sealed prizes for Collectors leagues
This commit is contained in:
PhallenCassidy
2018-04-14 08:38:49 -04:00
committed by GitHub
parent 1fa946a409
commit e60009ade3

View File

@@ -49,7 +49,7 @@ public class FixedLeaguePrizes implements LeaguePrizes {
public CardCollection getPrizeForLeague(int position, int playersCount, int gamesPlayed, int maxGamesPlayed, CollectionType collectionType) {
if (collectionType.equals(CollectionType.ALL_CARDS)) {
return getPrizeForConstructedLeague(position, playersCount, gamesPlayed, maxGamesPlayed);
} else if (collectionType.equals(CollectionType.MY_CARDS)) {
} else if (collectionType.equals(CollectionType.MY_CARDS) || collectionType.equals(CollectionType.OWNED_TOURNAMENT_CARDS)) {
return getPrizeForCollectorsLeague(position, playersCount, gamesPlayed, maxGamesPlayed);
} else {
return getPrizeForSealedLeague(position, playersCount, gamesPlayed, maxGamesPlayed);