From 83637ca96576e2b049959023a00ce6c5bf37f8e4 Mon Sep 17 00:00:00 2001 From: DBotThePony Date: Fri, 14 Mar 2025 21:50:06 +0700 Subject: [PATCH] Disable SynchronizedGJRAND64RandomSource for now --- gradle.properties | 2 +- src/main/java/ru/dbotthepony/mc/prng/BetterRandom.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gradle.properties b/gradle.properties index dd317ad..9072bcb 100644 --- a/gradle.properties +++ b/gradle.properties @@ -34,7 +34,7 @@ mod_name=Better Random # The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default. mod_license=BSD 2 Clause # The mod version. See https://semver.org/ -mod_version=1.3.3 +mod_version=1.3.4 # The group ID for the mod. It is only important when publishing as an artifact to a Maven repository. # This should match the base package used for the mod sources. # See https://maven.apache.org/guides/mini/guide-naming-conventions.html diff --git a/src/main/java/ru/dbotthepony/mc/prng/BetterRandom.java b/src/main/java/ru/dbotthepony/mc/prng/BetterRandom.java index aa0cf33..28f809e 100644 --- a/src/main/java/ru/dbotthepony/mc/prng/BetterRandom.java +++ b/src/main/java/ru/dbotthepony/mc/prng/BetterRandom.java @@ -19,8 +19,8 @@ public final class BetterRandom { } public static RandomSource createWorldRandom(Supplier thread) { - if (ModList.get().isLoaded("c2me")) - return createWorldRandomC2ME(thread); + //if (ModList.get().isLoaded("c2me")) + // return createWorldRandomC2ME(thread); return new GJRAND64RandomSource(); }