From 78ccf239753959789c51e170ac2ea5aa825b3997 Mon Sep 17 00:00:00 2001 From: Jordan Byrne Date: Tue, 30 Jan 2018 02:19:45 +1000 Subject: $ Stopped using CSRPNG's in most cases. --- src/Java/gtPlusPlus/core/util/math/MathUtils.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/Java/gtPlusPlus/core/util/math') 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, -- cgit