- Fixed a bug in CostTapType

This commit is contained in:
swordshine
2014-05-01 10:53:21 +00:00
parent 77b9021145
commit 5a671223b7
5 changed files with 7 additions and 8 deletions

View File

@@ -152,7 +152,9 @@ public final class BoosterUtils {
final ArrayList<PaperCard> result = new ArrayList<PaperCard>();
final int size = allowedColors == null ? 0 : allowedColors.size();
Collections.shuffle(allowedColors);
if (allowedColors != null) {
Collections.shuffle(allowedColors);
}
int cntMade = 0, iAttempt = 0;