increased store for random seeds to 64k

This commit is contained in:
gnembon committed 2021-04-04 12:33:52 -03:00
1 parent 512a1c4b28
commit 3f372180e6
2 files changed
+7 -6

No files matched your search

+1 -1
View File
@@ -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);
}