From 2bcded3997d4829d6ab902d053e7f33221b42a64 Mon Sep 17 00:00:00 2001 From: ChomeNS <95471003+ChomeNS@users.noreply.github.com> Date: Tue, 6 Jun 2023 20:06:50 +0700 Subject: [PATCH] use 5 sexs for chomeval (yes i changed the delay) --- .../land/chipmunk/chipmunkmod/commands/ValidateCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/land/chipmunk/chipmunkmod/commands/ValidateCommand.java b/src/main/java/land/chipmunk/chipmunkmod/commands/ValidateCommand.java index bd844e7..fa4734d 100644 --- a/src/main/java/land/chipmunk/chipmunkmod/commands/ValidateCommand.java +++ b/src/main/java/land/chipmunk/chipmunkmod/commands/ValidateCommand.java @@ -100,7 +100,7 @@ public class ValidateCommand { try { MessageDigest md = MessageDigest.getInstance("SHA-256"); - String time = String.valueOf(System.currentTimeMillis() / 10000); + String time = String.valueOf(System.currentTimeMillis() / 5_000); String input = time + key; byte[] hash = md.digest(input.getBytes(StandardCharsets.UTF_8)); String stringHash = Hexadecimal.encode(hash).substring(0, 16);