Skip to content

Commit

Permalink
Fixed randomly generated IVs.
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasQTruong committed Jun 20, 2023
1 parent 07bfbc2 commit f5c9219
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -601,9 +601,9 @@ public IVs getIVs() {
toSet.remove(statIndex);
}

// Get the rest of the stats.
// Get the rest of the stats (0-31).
for (Stats stat : toSet) {
newIVs.set(stat, RNG.nextInt(31));
newIVs.set(stat, RNG.nextInt(32));
}

return newIVs;
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ luckperms_version=5.4


mod_id=veryscuffedcobblemonbreeding
mod_version=1.0.4
mod_version=1.0.5
snapshot=false

0 comments on commit f5c9219

Please sign in to comment.