From 84d4ed78eab32a959da7284e54bd9c6559390de5 Mon Sep 17 00:00:00 2001 From: DBotThePony Date: Thu, 6 Mar 2025 16:49:10 +0700 Subject: [PATCH] Don't scramble xoshiro on fork since seed is already enough random --- .../ru/dbotthepony/mc/otm/core/util/Xoshiro256SSRandom.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/core/util/Xoshiro256SSRandom.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/core/util/Xoshiro256SSRandom.kt index 99438ed72..b38f5481b 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/core/util/Xoshiro256SSRandom.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/core/util/Xoshiro256SSRandom.kt @@ -93,7 +93,7 @@ class Xoshiro256SSRandom private constructor( } override fun fork(): RandomSource { - return Xoshiro256SSRandom(nextLong(), nextLong(), nextLong(), nextLong()) + return Xoshiro256SSRandom(nextLong(), nextLong(), nextLong(), nextLong(), null) } override fun forkPositional(): PositionalRandomFactory {