Fixed: Sealed from cube (singleton) set - shouldn't have more than one cards each

This commit is contained in:
skiera
2012-02-02 02:22:25 +00:00
parent 1231b6069e
commit c23ff8d8f2

View File

@@ -165,7 +165,11 @@ public class SealedDeck {
@Override
public List<CardPrinted> apply(final BoosterGenerator pack) {
if (draft.getIgnoreRarity()) {
if (!draft.getSingleton()) {
return pack.getBoosterPack(0, 0, 0, 0, 0, 0, 0, draft.getNumCards(), 0);
} else {
return pack.getSingletonBoosterPack(draft.getNumCards());
}
}
return pack.getBoosterPack(draft.getNumCommons(), draft.getNumUncommons(), 0,
draft.getNumRares(), draft.getNumMythics(), draft.getNumSpecials(),