Exclude mythic essence from mythic essence rolls
This commit is contained in:
parent
4c6180e8f1
commit
97198e9e17
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user