aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/core/util/math
diff options
context:
space:
mode:
Diffstat (limited to 'src/Java/gtPlusPlus/core/util/math')
-rw-r--r--src/Java/gtPlusPlus/core/util/math/MathUtils.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Java/gtPlusPlus/core/util/math/MathUtils.java b/src/Java/gtPlusPlus/core/util/math/MathUtils.java
index 21c8fa840b..f3f72f86bb 100644
--- a/src/Java/gtPlusPlus/core/util/math/MathUtils.java
+++ b/src/Java/gtPlusPlus/core/util/math/MathUtils.java
@@ -4,9 +4,8 @@ import java.util.Map;
import java.util.Random;
import gregtech.api.enums.GT_Values;
-import gtPlusPlus.api.objects.CSPRNG;
+import gtPlusPlus.api.objects.CSPRNG_DO_NOT_USE;
import gtPlusPlus.api.objects.Logger;
-import gtPlusPlus.api.objects.XSTR;
import gtPlusPlus.core.lib.CORE;
import gtPlusPlus.core.util.Utils;
@@ -23,7 +22,7 @@ public class MathUtils {
* @see java.util.Random#nextInt(int)
*/
- final static Random rand = CSPRNG.generate(CORE.RANDOM);
+ final static Random rand = CSPRNG_DO_NOT_USE.generate(CORE.RANDOM);
public static int randInt(final int min, final int max) {
// nextInt is normally exclusive of the top value,