From ebdff6811d914558dddb9267245ca843aaa4f885 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 5095ac2fe..a6c595115 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 @@ -92,7 +92,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 {