Merge pull request #261 from pimittens/vanillafixes #patch

chaos scroll fix
This commit is contained in:
Ponk
2024-09-13 21:25:51 +02:00
committed by GitHub
3 changed files with 39 additions and 2 deletions

View File

@@ -35,6 +35,6 @@ public class Randomizer {
}
public static int rand(final int lbound, final int ubound) {
return (int) ((rand.nextDouble() * (ubound - lbound + 1)) + lbound);
return ((int) (rand.nextDouble() * (ubound - lbound + 1))) + lbound;
}
}