-
Notifications
You must be signed in to change notification settings - Fork 33
Description
When randomizing FE6, attempting to randomize while both the "Strict Matching" weapon assignment and "Randomize Regular Enemies" options are selected will cause the following error message:
Error
Randomization failed with error: Encountered error while randomizing classes.
IllegalArgumentException
Stack Trace:
java.util.Random.nextInt(Unknown Source)
random.gba.loader.ItemDataLoader.getSidegradeWeapon(ItemDataLoader.java:372)
random.gba.randomizer.ClassRandomizer.validateMinionInventory(ClassRandomizer.java:531)
random.gba.randomizer.ClassRandomizer.updateMinionToClass(ClassRandomizer.java:417)
random.gba.randomizer.ClassRandomizer.randomizeMinionClasses(ClassRandomizer.java:304)
The randomizer correctly functions as long as both of these options are not selected at the same time. I tested the same settings in the previous version I was using (v0.8.5) and the issue does not appear to be present in that version.