- Fix for the previous commit.

This commit is contained in:
Agetian
2014-01-27 18:18:43 +00:00
parent f21e1c3f8a
commit 73b97fe151

View File

@@ -134,7 +134,7 @@ public final class QuestUtilCards {
pool.add(db.getCard(landName, landCode, i), artGroups[i - 1]); pool.add(db.getCard(landName, landCode, i), artGroups[i - 1]);
} }
} else { } else {
pool.add(db.getCard(landName, landCode, artCount > 1 ? MyRandom.getRandom().nextInt(artCount + 1) : 1), nBasic); pool.add(db.getCard(landName, landCode, artCount > 1 ? MyRandom.getRandom().nextInt(artCount) + 1 : 1), nBasic);
} }
} }