added reset_seed
This commit is contained in:
1 parent
ece43b6213
commit
eab24f7896
6 files changed
+21
-2
No files matched your search
@@ -42,6 +42,10 @@ public abstract class ScriptHost
|
||||
return randomizers.computeIfAbsent(aLong, Random::new);
|
||||
}
|
||||
|
||||
public boolean resetRandom(long aLong) {
|
||||
return randomizers.remove(aLong) != null;
|
||||
}
|
||||
|
||||
public static class ModuleData
|
||||
{
|
||||
Module parent;
|
||||
|
||||
Reference in new issue
Block a user