fix: FNF boyfriend bot hashing 1s -> 2s

This commit is contained in:
Chayapak Supasakul 2025-02-11 19:51:37 +07:00
parent fd9a0ef0cb
commit bba4e8337f
Signed by: ChomeNS
SSH key fingerprint: SHA256:0YoxhdyXsgbc0nfeB2N6FYE60mxMU7DS4uCUMaw2mvA

View file

@ -122,7 +122,7 @@ public class BotValidationUtilities {
String[] arguments = command.split(" ");
long currentTime = System.currentTimeMillis() / 1000;
long currentTime = System.currentTimeMillis() / 2000;
final String key = ChipmunkMod.CONFIG.bots.fnfboyfriend.key;
if (key == null) throw new RuntimeException("The key of the bot is unspecified (null), did you incorrectly add it to your config?");
String input = currentTime + key;