Increase randomness by updating the random's seed every minute

This commit is contained in:
2022-12-20 22:15:52 +01:00
parent 264a94fe0d
commit ba64c02049
4 changed files with 31 additions and 4 deletions

View File

@@ -0,0 +1,12 @@
package wtf.beatrice.hidekobot.runnables;
import wtf.beatrice.hidekobot.Cache;
public class RandomSeedTask implements Runnable
{
@Override
public void run() {
Cache.setRandomSeed(System.currentTimeMillis());
}
}