increased store for random seeds to 64k
This commit is contained in:
1 parent
512a1c4b28
commit
3f372180e6
2 files changed
+7
-6
No files matched your search
@@ -37,7 +37,7 @@ public abstract class ScriptHost
|
||||
|
||||
public Random getRandom(long aLong)
|
||||
{
|
||||
if (randomizers.size() > 1024)
|
||||
if (randomizers.size() > 65536)
|
||||
randomizers.clear();
|
||||
return randomizers.computeIfAbsent(aLong, Random::new);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user