Exclude mythic essence from mythic essence rolls

This commit is contained in:
Jackson Hodge 2026-04-15 11:04:28 -05:00
parent 4c6180e8f1
commit 97198e9e17

View File

@ -11,7 +11,10 @@ public class MythicEssence {
private static final List<MythicItem> mythics = MythicItem.getMythics();
public static ItemStack rollMythic() {
int mythic_id = random.nextInt(mythics.size());
int mythic_id;
do {
mythic_id = random.nextInt(mythics.size());
} while (mythic_id == 0);
return mythics.get(mythic_id).item;
}
}