mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- Fixed bug in BoosterGenerator reported by Roujin.
This commit is contained in:
@@ -190,7 +190,7 @@ public class BoosterGenerator {
|
||||
final int rollD8 = MyRandom.getRandom().nextInt(8);
|
||||
final boolean takeMythic = (mythicsSize > 0) && (rollD8 < 1);
|
||||
if (takeMythic) {
|
||||
if (indexRares >= raresSize) {
|
||||
if (indexMythics >= mythicsSize) {
|
||||
Collections.shuffle(mythics, MyRandom.getRandom());
|
||||
indexMythics = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user